From fc96154755a6c0b322456a0708d9ced27c8dbd1f Mon Sep 17 00:00:00 2001 From: "b.waal" Date: Thu, 7 Nov 2019 14:59:36 +0100 Subject: [PATCH] Fixed variable typo --- installer.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/installer.sh b/installer.sh index ac957d3..31f0edd 100644 --- a/installer.sh +++ b/installer.sh @@ -38,10 +38,10 @@ password=$(whiptail --nocancel --passwordbox "Please enter your password (should email=$(whiptail --nocancel --inputbox " Enter the administrator e-mail" 11 82 --title "Config" 3>&1 1>&2 2>&3) webserv=$(whiptail --title "Select Webserver" --radiolist "WebServer" 11 53 5 "Nginx:" "Will install NGINX Webserver." ON "Apache:" "Will install Apache Webserver." OFF 3>&1 1>&2 2>&3) -if [[ $webserv == "Nginx" ]]; then +if [[ $webserv == "Nginx:" ]]; then echo "nginx php${phpver}-fpm php${phpver}-imagick php${phpver}-mysql php${phpver}-cgi php${phpver}-common php${phpver}-pear php${phpver}-mbstring php${phpver}-curl php${phpver}-gd php${phpver}-intl php${phpver}-soap php${phpver}-xml php${phpver}-xmlrpc php${phpver}-zip" >> /tmp/install.txt fi -if [[ $webserv == "Apache" ]]; then +if [[ $webserv == "Apache:" ]]; then echo "apache2 libapache2-mod-php php${phpver}-mysql php${phpver}-cgi php${phpver}-common php${phpver}-pear php${phpver}-mbstring php${phpver}-curl php${phpver}-gd php${phpver}-intl php${phpver}-soap php${phpver}-xml php${phpver}-xmlrpc php${phpver}-zip" >> /tmp/install.txt fi