Main, MariaDB: Switched form MariaDB back to MySQL since it is available for Deb11 Main, Debian 11 Enabled Debian 11 support, and removed warnings CMS:Backend increased limits PHP: post_max to 256M Nginx: client_max_body to 256m and fcgi_timeout to 10 minutes
24 lines
878 B
Bash
24 lines
878 B
Bash
if [ ! -f "/etc/ICTM/selopts.list" ] || [ ! -f "/etc/ICTM/mainvar.list" ] ; then echo 'This system is not yet setup, please run the main installer first' && exit ; fi
|
|
|
|
#Getting information and vars
|
|
source /etc/ICTM/mainvar.list
|
|
|
|
#CompatUpdater Setup
|
|
UpdaterCompatTo=2
|
|
if [ -z ${CompatVer} ]; then CompatVer=1 ; fi
|
|
if [ "$CompatVer" -ge "$UpdaterCompatTo" ]; then echo "Web-V2 is update to-date,Update scipt version= $UpdaterCompatTo, Current version= $CompatVer" && exit ; fi
|
|
|
|
printf '%s' "Updating Web-V2..."
|
|
#NewCompat var
|
|
CompatVer=$UpdaterCompatTo
|
|
|
|
#Updating mod lists
|
|
aonoption="/MySQL/"
|
|
aonoption="$aonoption /Unattended-Security-Updates/"
|
|
aonoption="$aonoption /Backup-Util/"
|
|
aonoption="$aonoption /AcmeSH/"
|
|
echo 'EnabledAons=('$aonoption')' >> /etc/ICTM/selopts.list
|
|
declare -p CompatVer | cut -d ' ' -f 3- >> /etc/ICTM/mainvar.list
|
|
|
|
printf " [\033[0;32mok\033[0m]\n"
|