From dfc01ff786fca3d9ede52d039140548df2f0f62d Mon Sep 17 00:00:00 2001 From: M0VUB <76499782+ShaYmez@users.noreply.github.com> Date: Sat, 4 Dec 2021 22:25:28 +0000 Subject: [PATCH] Update xlxd-debian-installer.sh Add support for Debian 11 --- xlxd-debian-installer.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/xlxd-debian-installer.sh b/xlxd-debian-installer.sh index 68b71d0..56f1f48 100755 --- a/xlxd-debian-installer.sh +++ b/xlxd-debian-installer.sh @@ -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 "------------------------------------------------------------------------------"