Parcourir la source

fix install.sh first read

Bachir Soussi Chiadmi il y a 5 ans
Parent
commit
1376de6848
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      install.sh

+ 2 - 2
install.sh

@@ -11,10 +11,10 @@ echo -e "\033[35;1mThis script has been tested only on Alpine Linux \033[0m"
 
 . bin/checkroot.sh
 
-echo -n "Should we start? [Y|n] "
+echo -n "Should we start? [y|n] "
 read yn
 yn=${yn:-y}
-if [ "$yn" != "y" ]; then
+if [ "$yn" != "y" ] && [ "$yn" != "Y" ]; then
   echo -e "aborting script!"
   exit
 fi