a
This commit is contained in:
@@ -717,7 +717,7 @@ else
|
|||||||
APPEND_BETA=""
|
APPEND_BETA=""
|
||||||
fi
|
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"
|
#$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
|
if [ ! -e $DA_PATH/update.tar.gz ]; then
|
||||||
echo "Unable to download $DA_PATH/update.tar.gz";
|
echo "Unable to download $DA_PATH/update.tar.gz";
|
||||||
@@ -731,10 +731,10 @@ if [ $COUNT -ne 0 ]; then
|
|||||||
exit 4;
|
exit 4;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Giải nén file update.tar.gz..."
|
#echo "Giải nén file update.tar.gz..."
|
||||||
|
|
||||||
cd $DA_PATH;
|
cd $DA_PATH;
|
||||||
tar xzf update.tar.gz
|
#tar xzf update.tar.gz
|
||||||
|
|
||||||
|
|
||||||
if [ ! -e $DA_PATH/directadmin ]; then
|
if [ ! -e $DA_PATH/directadmin ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user