|
|
@ -240,7 +240,7 @@ fedora()
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
# Use rpm -q <package> to check if it's already installed
|
|
|
|
# Use rpm -q <package> 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
|
|
|
|
# If the list of packages is not empty, install missing
|
|
|
|
COUNT=$(echo $PKGS | wc -w)
|
|
|
|
COUNT=$(echo $PKGS | wc -w)
|
|
|
|
if [ $COUNT -ne 0 ]; then
|
|
|
|
if [ $COUNT -ne 0 ]; then
|
|
|
|