Update xlxd-debian-installer.sh

More debian 11 stuff
This commit is contained in:
M0VUB 2021-12-04 22:30:25 +00:00 committed by GitHub
parent dfc01ff786
commit 4573161f06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,7 +24,7 @@ WEBDIR=/var/www/xlxd
XLXINSTDIR=/root/reflector-install-files/xlxd XLXINSTDIR=/root/reflector-install-files/xlxd
DEP="git build-essential g++ apache2 php libapache2-mod-php php7.0-mbstring" DEP="git build-essential g++ apache2 php libapache2-mod-php php7.0-mbstring"
DEP2="git build-essential g++ apache2 php libapache2-mod-php php7.3-mbstring" DEP2="git build-essential g++ apache2 php libapache2-mod-php php7.3-mbstring"
DEP3="build-essential g++ apache2 php libapache2-mod-php php7.4-mbstring" DEP3="build-essential g++ apache2 php libapache2-mod-php"
VERSION=$(sed 's/\..*//' /etc/debian_version) VERSION=$(sed 's/\..*//' /etc/debian_version)
clear clear
echo "" echo ""
@ -57,7 +57,7 @@ then
apt-get -y install $DEP2 apt-get -y install $DEP2
elif [ $VERSION = 11 ] elif [ $VERSION = 11 ]
then then
apt-get -y install $DEP3 apt install -y $DEP3
fi fi
echo "------------------------------------------------------------------------------" echo "------------------------------------------------------------------------------"