From 61a24db772882835ceb170bebce95b4e16ba4759 Mon Sep 17 00:00:00 2001 From: Graham MacDonald Date: Sat, 21 Dec 2019 20:33:30 +0000 Subject: [PATCH] Fix bootstrap pkg install step for Fedora --- bootstrap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap.sh b/bootstrap.sh index a49cfeb..ab4b395 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -240,7 +240,7 @@ fedora() fi fi # Use rpm -q to check if it's already installed - PKGS=$(for pkg in gcc gcc-c++ glibc-devel.i686 nasm make fuse-devel cmake texinfo gettext-devel bison flex perl-HTML-Parser; do rpm -q $pkg > /dev/null; [ $? -ne 0 ] && echo $pkg; done) + PKGS=$(for pkg in gcc gcc-c++ glibc-devel.i686 nasm make fuse-devel cmake texinfo gettext-devel bison flex perl-HTML-Parser; do rpm -q $pkg > /dev/null || echo $pkg; done) # If the list of packages is not empty, install missing COUNT=$(echo $PKGS | wc -w) if [ $COUNT -ne 0 ]; then