From 652b69ec375b00c0e89149ec4e3c14216e3b07a7 Mon Sep 17 00:00:00 2001 From: Bram Prieshof Date: Fri, 14 Aug 2020 14:52:18 +0200 Subject: [PATCH] Fixed oopsie --- CoreModules/nginx/phpupdate-handeler.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CoreModules/nginx/phpupdate-handeler.sh b/CoreModules/nginx/phpupdate-handeler.sh index 9460ffd..7b80810 100644 --- a/CoreModules/nginx/phpupdate-handeler.sh +++ b/CoreModules/nginx/phpupdate-handeler.sh @@ -1,12 +1,12 @@ for f in /etc/nginx/sites-available/*; do if [ $IMODE = n ] && [ $PhpPurge = 0 ]; then - if (whiptail --title "Update Nginx config ?" --yesno "Update php version in : ${f##*/} ?" 8 78); then + if (whiptail --title "Update Nginx config ?" --yesno "Update php version in nginx site: ${f##*/} ?" 8 78); then sed -i "s/$phpver/$newphpver/" $f fi fi if [ $IMODE = l ] && [ $PhpPurge = 0 ]; then while true; do - read -p "Remove php $phpver ? -> yes/no?" yn + read -p "Update php version in nginx site: ${f##*/} ? -> yes/no?" yn case $yn in [Yy]* ) sed -i "s/$phpver/$newphpver/" $f break;;