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
|
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";
|
||||||
exit 3;
|
#exit 3;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
COUNT=`head -n 4 $DA_PATH/update.tar.gz | grep -c "* You are not allowed to run this program *"`;
|
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
|
fi
|
||||||
|
|
||||||
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
|
||||||
echo "Cannot find the DirectAdmin binary. Extraction failed";
|
echo "Cannot find the DirectAdmin binary. Extraction failed";
|
||||||
|
|||||||
Reference in New Issue
Block a user