Update 'installer.sh'
This commit is contained in:
13
installer.sh
13
installer.sh
@@ -62,15 +62,16 @@ fi
|
||||
|
||||
|
||||
if [[ $option == *"Memcached"* ]]; then
|
||||
curl -s "$repo"/raw/branch/"$branch"/modules/MODNAME/"$webserv"-aptlist >> /tmp/install.txt
|
||||
#curl -s "$repo"/raw/branch/"$branch"/modules/MODNAME/"$webserv"-aptlist >> /tmp/install.txt
|
||||
echo "Memcached" >> /tmp/install.txt
|
||||
fi
|
||||
|
||||
if [[ $option == *"Redis"* ]]; then
|
||||
echo "" >> /tmp/install.txt
|
||||
echo "Redis" >> /tmp/install.txt
|
||||
fi
|
||||
|
||||
if [[ $option == *"Brotli"* ]]; then
|
||||
echo "" >> /tmp/install.txt
|
||||
echo "Brotli" >> /tmp/install.txt
|
||||
fi
|
||||
|
||||
|
||||
@@ -80,15 +81,15 @@ 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
|
||||
echo "Nextcloud" >> /tmp/install.txt
|
||||
fi
|
||||
|
||||
if [[ $CMS == "Wordpress" ]]; then
|
||||
echo "" >> /tmp/install.txt
|
||||
echo "Wordpress" >> /tmp/install.txt
|
||||
fi
|
||||
|
||||
if [[ $CMS == "None" ]]; then
|
||||
echo "" >> /tmp/install.txt
|
||||
echo "None" >> /tmp/install.txt
|
||||
fi
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user