Update install.sh
This commit is contained in:
@@ -721,14 +721,14 @@ fi
|
|||||||
|
|
||||||
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 *"`;
|
||||||
if [ $COUNT -ne 0 ]; then
|
if [ $COUNT -ne 0 ]; then
|
||||||
echo "";
|
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";
|
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
|
fi
|
||||||
|
|
||||||
#echo "Giải nén file update.tar.gz..."
|
#echo "Giải nén file update.tar.gz..."
|
||||||
|
|||||||
Reference in New Issue
Block a user