Explorar el Código

fix install.sh first read

Bachir Soussi Chiadmi hace 5 años
padre
commit
1376de6848
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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