Fixed variables and fi statement
This commit is contained in:
@@ -50,12 +50,12 @@ fi
|
|||||||
# Addons #
|
# Addons #
|
||||||
##----------##
|
##----------##
|
||||||
|
|
||||||
if [ $webserv = nginx ]; then
|
if [ $webserv = Nginx ]; then
|
||||||
#NGINX Addon menu
|
#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)
|
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
|
fi
|
||||||
|
|
||||||
if [ $webserv = apache2 ]; then
|
if [ $webserv = Apache ]; then
|
||||||
#Apache Addon menu
|
#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)
|
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
|
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)
|
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
|
if [[ $CMS == "Nextcloud" ]]; then
|
||||||
echo "" >> /tmp/install.txt
|
echo "" >> /tmp/install.txt
|
||||||
|
fi
|
||||||
|
|
||||||
if [[ $CMS == "Wordpress" ]]; then
|
if [[ $CMS == "Wordpress" ]]; then
|
||||||
echo "" >> /tmp/install.txt
|
echo "" >> /tmp/install.txt
|
||||||
|
|||||||
Reference in New Issue
Block a user