This commit is contained in:
tuend-work
2025-11-13 11:39:36 +07:00
parent a1cb058090
commit 0d4f7e4f28
2 changed files with 20 additions and 12 deletions

View File

@@ -334,15 +334,15 @@ clean_dev()
echo "";
echo "DirectAdmin will now be installed on: $OS $OS_VER";
if [ $CMD_LINE -eq 0 ]; then
echo -n "Is this correct? (must match license) (y,n) : ";
read yesno;
# if [ $CMD_LINE -eq 0 ]; then
# echo -n "Is this correct? (must match license) (y,n) : ";
# read yesno;
if [ "$yesno" = "n" ]; then
echo -e "\nPlease change the value in your license, or install the correct operating system\n";
exit 1;
fi
fi
# if [ "$yesno" = "n" ]; then
# echo -e "\nPlease change the value in your license, or install the correct operating system\n";
# exit 1;
# fi
# fi
# Hexan
PWD_DIR=`pwd`
@@ -777,8 +777,9 @@ chmod 600 $SETUP
# Install it
cd $SCRIPTS_PATH;
echo "-----------------"
echo "Chạy ./install.sh $CMD_LINE"
echo "-----------------"
./install.sh $CMD_LINE
RET=$?