Browse Source

Fix topo and add question to a new line.

Raphael Schneeberger 7 years ago
parent
commit
823a61560d
1 changed files with 4 additions and 3 deletions
  1. 4 3
      install/hst-migration.sh

+ 4 - 3
install/hst-migration.sh

@@ -59,10 +59,11 @@ fi
 # Inform abouot and ask to proceed migration.
 loop=1
 while [ "$loop" -eq 1 ]; do
-    read -p "Would you like to migrate to HestiaCP? Please be warned, that we remvoe and do not support softaculous and payed VestaCP extensions! [yes/no]: " api
-    if [ $api == 'yes' ] || [ $api == 'no' ]; then
+    echo "Would you like to migrate to HestiaCP?"
+    read -p "Please be warned, that we've removed and do not support softaculous and payed VestaCP extensions! [yes/no]: " sure
+    if [ $sure == 'yes' ] || [ $sure == 'no' ]; then
         loop=0
-        if [ $api == 'no' ]; then
+        if [ $sure == 'no' ]; then
             echo "Canceling migration..."
             exit 1
         fi