From ea0962b7bd7ecb68b4d87fe3d338bba819b10bff Mon Sep 17 00:00:00 2001 From: amidevous Date: Tue, 17 Oct 2023 00:33:13 +0200 Subject: [PATCH] Update install.sh --- install.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/install.sh b/install.sh index 385ae14..6ec0347 100644 --- a/install.sh +++ b/install.sh @@ -35,6 +35,9 @@ elif [ -f /etc/os-release ]; then fi ARCH=$(uname -m) wget https://raw.githubusercontent.com/amidevous/xtream-ui-ubuntu20.04/master/install-dep.sh -O /root/install-dep.sh && bash /root/install-dep.sh +NON=non +if [[ "$NON" = "oui" ]] ; then +echo "test" if [[ "$OS" = "CentOs" && "$VER" = "6" && "$ARCH" == "x86_64" ]] ; then /opt/rh/devtoolset-9/enable source /opt/rh/devtoolset-9/enable @@ -278,10 +281,12 @@ if [ ! -f "/home/xui/bin/php/lib/php/extensions/no-debug-non-zts-20190902/ioncub fi #cd /root #wget --no-check-certificate https://raw.githubusercontent.com/amidevous/xtream-ui-ubuntu20.04/master/ubuntu/php.ini -O /home/xui/bin/php/lib/php.ini +rm -rf /home/xui/bin/php/etc/* cd /root rm -rf /root/phpbuild/ sudo bash -c "echo 1 > /home/xui/bin/php-7.4.33" fi +fi if [ -f "/usr/bin/dpkg-buildflags" ]; then apt-get -y install python python-dev unzip