diff --git a/PhpUpdater.sh b/PhpUpdater.sh index 669fc84..50bf92d 100644 --- a/PhpUpdater.sh +++ b/PhpUpdater.sh @@ -8,13 +8,14 @@ PPAversion=`apt list php | egrep -o "([0-9]{1,}.)+[0-9]{1,}" | cut -c 3-` && PPA msg () { if [ $IMODE = n ]; then - TERM=ansi whiptail --title "Info" --infobox "$1" 8 52 + TERM=ansi whiptail --title "Info" --msgbox "$1" 8 52 fi if [ $IMODE = l ]; then echo "$1" fi } +msg "Current php version: $phpver" if [ $IMODE = n ]; then # Legacy/Main Menu @@ -55,7 +56,7 @@ if [ $IMODE = l ]; then [Nn]* ) echo ""; echo "Please enter php version to install:";read newphpver break;; - * ) echo "Choose yes of no.";; + * ) echo "Choose yes or no.";; esac done @@ -73,7 +74,7 @@ if [ $IMODE = l ]; then break;; [Nn]* ) PhpPurge=0 ; echo "" break;; - * ) echo "Choose yes of no.";; + * ) echo "Choose yes or no.";; esac done fi