From e07d0ea7b53f337771dc0dd5527a8988b3c4490d Mon Sep 17 00:00:00 2001 From: Bram Prieshof Date: Fri, 14 Aug 2020 15:09:01 +0200 Subject: [PATCH] fixed oopsie --- PhpUpdater.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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