Fixed variable typo
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user