mirror of
https://github.com/ShaYmez/xlxd-debian-installer.git
synced 2024-11-21 10:51:45 -05:00
Update xlxd-debian-installer.sh
This commit is contained in:
parent
0ae422fb3e
commit
541d247aa2
@ -23,6 +23,8 @@ DMRIDURL=http://xlxapi.rlx.lu/api/exportdmr.php
|
||||
WEBDIR=/var/www/xlxd
|
||||
XLXINSTDIR=/root/reflector-install-files/xlxd
|
||||
DEP="git build-essential apache2 php libapache2-mod-php php7.0-mbstring"
|
||||
DEP2="git build-essential apache2 php libapache2-mod-php php7.3-mbstring"
|
||||
VERSION=$(sed 's/\..*//' /etc/debian_version)
|
||||
clear
|
||||
echo ""
|
||||
echo "XLX uses 3 digit numbers for its reflectors. For example: 032, 999, 099."
|
||||
@ -45,7 +47,13 @@ echo "--------------------------------------------------------------------------
|
||||
mkdir -p $XLXINSTDIR
|
||||
mkdir -p $WEBDIR
|
||||
apt-get update
|
||||
if [ $VERSION = 9 ]
|
||||
then
|
||||
apt-get -y install $DEP
|
||||
elif [ $VERSION = 10 ]
|
||||
then
|
||||
apt-get -y install $DEP2
|
||||
fi
|
||||
a2enmod php7.0
|
||||
echo "------------------------------------------------------------------------------"
|
||||
if [ -e $XLXINSTDIR/xlxd/src/xlxd ]
|
||||
|
Loading…
Reference in New Issue
Block a user