From a2bf7f0c05e4d895ce846eb10ac1758bcc92674f Mon Sep 17 00:00:00 2001 From: Ben <43531228+n5amd@users.noreply.github.com> Date: Sun, 21 Jan 2024 12:54:13 -0500 Subject: [PATCH] Update xlxd-debian-installer.sh updated APPS for all debian flavors. --- xlxd-debian-installer.sh | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/xlxd-debian-installer.sh b/xlxd-debian-installer.sh index f1f6218..13b47de 100755 --- a/xlxd-debian-installer.sh +++ b/xlxd-debian-installer.sh @@ -12,7 +12,7 @@ fi if [ ! -e "/etc/debian_version" ] then echo "" - echo "This script is only tested in Debian 9 and x64 cpu Arch. " + echo "This script is only tested on Debian and x64 CPU Arch. but XLX will work on most ANY Linux distro. " exit 0 fi DIRDIR=$(pwd) @@ -25,6 +25,7 @@ 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" DEP3="git build-essential apache2 php libapache2-mod-php php7.4-mbstring" +APPS="git git-core apache2 php libapache2-mod-php php-cli php-xml php-mbstring php-curl build-essential" VERSION=$(sed 's/\..*//' /etc/debian_version) clear echo "" @@ -48,17 +49,18 @@ echo "-------------------------------------------------------------------------- mkdir -p $XLXINSTDIR mkdir -p $WEBDIR apt-get update -if [ $VERSION = 9 ] -then - apt-get -y install $DEP - a2enmod php7.0 -elif [ $VERSION = 10 ] -then - apt-get -y install $DEP2 -elif [ $VERSION = 11 ] -then - apt-get -y install $DEP3 -fi +apt-get install $APPS +#if [ $VERSION = 9 ] +#then +# apt-get -y install $DEP +# a2enmod php7.0 +#elif [ $VERSION = 10 ] +#then +# apt-get -y install $DEP2 +#elif [ $VERSION = 11 ] +#then +# apt-get -y install $DEP3 +#fi echo "------------------------------------------------------------------------------" if [ -e $XLXINSTDIR/xlxd/src/xlxd ]