Update xlxd-debian-installer.sh

Add support for Debian 11
This commit is contained in:
M0VUB 2021-12-04 22:25:28 +00:00 committed by GitHub
parent d5acd75020
commit dfc01ff786
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 2 deletions

View File

@ -22,8 +22,9 @@ XLXDREPO=https://github.com/LX3JL/xlxd.git
DMRIDURL=http://xlxapi.rlx.lu/api/exportdmr.php
WEBDIR=/var/www/xlxd
XLXINSTDIR=/root/reflector-install-files/xlxd
DEP="git build-essential g++ apache2 php libapache2-mod-php php7.3-mbstring"
DEP2="git build-essential g++ apache2 php libapache2-mod-php php7.4-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"
DEP3="build-essential g++ apache2 php libapache2-mod-php php7.4-mbstring"
VERSION=$(sed 's/\..*//' /etc/debian_version)
clear
echo ""
@ -54,6 +55,9 @@ then
elif [ $VERSION = 10 ]
then
apt-get -y install $DEP2
elif [ $VERSION = 11 ]
then
apt-get -y install $DEP3
fi
echo "------------------------------------------------------------------------------"