From 3c7e9f311663a519d349af86efd1b7c55af78846 Mon Sep 17 00:00:00 2001 From: tuend-work <121396415+tuend-work@users.noreply.github.com> Date: Thu, 13 Nov 2025 11:24:31 +0700 Subject: [PATCH] Update setup.sh --- setup.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/setup.sh b/setup.sh index df6a4e0..0ed985d 100644 --- a/setup.sh +++ b/setup.sh @@ -716,25 +716,25 @@ if ${DOWNLOAD_BETA}; then else APPEND_BETA="" fi -#$BIN_DIR/wget $WGET_OPTION -S --tries=5 --timeout=60 -O $DA_PATH/update.tar.gz $BIND_ADDRESS "https://git.wpcloud.vn/tuend/DirectAdmin-1.62.4/raw/branch/main/directadmin-1.62.4.tar.gz" +$BIN_DIR/wget $WGET_OPTION -S --tries=5 --timeout=60 -O $DA_PATH/update.tar.gz $BIND_ADDRESS "https://git.wpcloud.vn/tuend/DirectAdmin-1.62.4/raw/branch/main/directadmin-1.62.4.tar.gz" #$BIN_DIR/wget $WGET_OPTION -S --tries=5 --timeout=60 -O $DA_PATH/update.tar.gz $BIND_ADDRESS "https://git.wpcloud.vn/tuend/DirectAdmin-1.62.4/raw/branch/main/update.tar.gz" if [ ! -e $DA_PATH/update.tar.gz ]; then echo "Unable to download $DA_PATH/update.tar.gz"; - #exit 3; + exit 3; fi COUNT=`head -n 4 $DA_PATH/update.tar.gz | grep -c "* You are not allowed to run this program *"`; if [ $COUNT -ne 0 ]; then echo ""; echo "You are not authorized to download the update package with that client id and license id for this IP address. Please email sales@directadmin.com"; - #exit 4; + exit 4; fi -#echo "Giải nén file update.tar.gz..." +echo "Giải nén file update.tar.gz..." cd $DA_PATH; -#tar xzf update.tar.gz +tar xzf update.tar.gz if [ ! -e $DA_PATH/directadmin ]; then