Fixed variables and fi statement
This commit is contained in:
@@ -50,12 +50,12 @@ fi
|
||||
# Addons #
|
||||
##----------##
|
||||
|
||||
if [ $webserv = nginx ]; then
|
||||
if [ $webserv = Nginx ]; then
|
||||
#NGINX Addon menu
|
||||
option=$(whiptail --nocancel --title "Which Nginx addons should be installed?" --checklist "Features" 11 110 5 "Memcached:" "Memcached is an open source, high-performance, distributed memory caching system." OFF "Redis Cache:" "Redis is an open source BSD licensed, in-memory data structure store." OFF 3>&1 1>&2 2>&3)
|
||||
fi
|
||||
|
||||
if [ $webserv = apache2 ]; then
|
||||
if [ $webserv = Apache ]; then
|
||||
#Apache Addon menu
|
||||
option=$(whiptail --nocancel --title "Which Apache addons should be installed?" --checklist "Features" 11 110 5 "Memcached:" "Memcached is an open source, high-performance, distributed memory caching system." OFF "Redis Cache:" "Redis is an open source BSD licensed, in-memory data structure store." OFF 3>&1 1>&2 2>&3)
|
||||
fi
|
||||
@@ -81,6 +81,7 @@ fi
|
||||
CMS=$(whiptail --nocancel --title "What CMS should be installed?" --radiolist "Features" 11 118 5 "Nextcloud:" "Nextcloud is a suite of client-server software for creating and using file hosting services." OFF "Wordpress:" "WordPress is a content management system based on PHP." OFF "None:" "A plain webserver will be setup." OFF 3>&1 1>&2 2>&3)
|
||||
if [[ $CMS == "Nextcloud" ]]; then
|
||||
echo "" >> /tmp/install.txt
|
||||
fi
|
||||
|
||||
if [[ $CMS == "Wordpress" ]]; then
|
||||
echo "" >> /tmp/install.txt
|
||||
|
||||
Reference in New Issue
Block a user