diff --git a/tools/install.sh b/tools/install.sh index aedccf36fc553882f9540c1db74c6a783a318ef3..ea4b96807e6e5fad95b6775faaf96552c5217293 100755 --- a/tools/install.sh +++ b/tools/install.sh @@ -26,11 +26,11 @@ cmmi() { if [ $configok -eq 0 ]; then echo -en 'Do you want to make and make install the package? (y/n) ' read r - if [ "$r" != "y" ]; then + if [ "$r" = "y" ]; then configok=2 fi fi - if [ $configok -eq 0 ]; then + if [ $configok -eq 2 ]; then make || return echo "Enter you password to install the package as $USER (make install): " if [ "$SFL_INSTALL_USER" = "$USER" ]; then