a
This commit is contained in:
Binary file not shown.
@@ -1720,7 +1720,7 @@ $BIN_DIR/wget $WGET_OPTION -S --tries=5 --timeout=60 -O $DA_PATH/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 *"`;
|
||||
@@ -1731,7 +1731,7 @@ if [ $COUNT -ne 0 ]; then
|
||||
fi
|
||||
|
||||
cd $DA_PATH;
|
||||
//tar xzf update.tar.gz
|
||||
#tar xzf update.tar.gz
|
||||
|
||||
if [ ! -e $DA_PATH/directadmin ]; then
|
||||
echo "Cannot find the DirectAdmin binary. Extraction failed";
|
||||
|
||||
Reference in New Issue
Block a user