mirror of
https://github.com/ShaYmez/xlxd-debian-installer.git
synced 2024-11-21 19:02:34 -05:00
Update xlxd-debian-installer.sh
Add support for Debian 11
This commit is contained in:
parent
d5acd75020
commit
dfc01ff786
@ -22,8 +22,9 @@ XLXDREPO=https://github.com/LX3JL/xlxd.git
|
|||||||
DMRIDURL=http://xlxapi.rlx.lu/api/exportdmr.php
|
DMRIDURL=http://xlxapi.rlx.lu/api/exportdmr.php
|
||||||
WEBDIR=/var/www/xlxd
|
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.3-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.4-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)
|
VERSION=$(sed 's/\..*//' /etc/debian_version)
|
||||||
clear
|
clear
|
||||||
echo ""
|
echo ""
|
||||||
@ -54,6 +55,9 @@ then
|
|||||||
elif [ $VERSION = 10 ]
|
elif [ $VERSION = 10 ]
|
||||||
then
|
then
|
||||||
apt-get -y install $DEP2
|
apt-get -y install $DEP2
|
||||||
|
elif [ $VERSION = 11 ]
|
||||||
|
then
|
||||||
|
apt-get -y install $DEP3
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "------------------------------------------------------------------------------"
|
echo "------------------------------------------------------------------------------"
|
||||||
|
Loading…
Reference in New Issue
Block a user