This commit is contained in:
tuend-work
2025-11-13 00:06:44 +07:00
parent b24116c0be
commit c896c627f9
3 changed files with 59 additions and 55 deletions

View File

@@ -21,7 +21,8 @@ if [ "$(id -u)" != "0" ]; then
exit 1
fi
dnf install tar -y
sudo dnf install tar -y
sudo dnf install epel-release -y
WGET_PATH=/usr/bin/wget
@@ -727,9 +728,12 @@ if [ $COUNT -ne 0 ]; then
exit 4;
fi
echo "Giải nén file update.tar.gz..."
cd $DA_PATH;
tar xzf update.tar.gz
if [ ! -e $DA_PATH/directadmin ]; then
echo "Cannot find the DirectAdmin binary. Extraction failed";