From 85da840688b2681b229d7373b7c4a0af05312d9d Mon Sep 17 00:00:00 2001 From: dami Date: Tue, 8 Apr 2025 18:21:53 +0800 Subject: [PATCH] update --- scripts/update.sh | 3 +++ scripts/update_dev.sh | 3 +++ 2 files changed, 6 insertions(+) diff --git a/scripts/update.sh b/scripts/update.sh index 57cf80600..0d390a316 100755 --- a/scripts/update.sh +++ b/scripts/update.sh @@ -51,6 +51,9 @@ elif grep -Eqi "Rocky" /etc/issue || grep -Eqi "Rocky" /etc/*-release; then elif grep -Eqi "AlmaLinux" /etc/issue || grep -Eqi "AlmaLinux" /etc/*-release; then OSNAME='rhel' yum install -y wget zip unzip +elif grep -Eqi "Anolis" /etc/issue || grep -Eqi "Anolis" /etc/*-release; then + OSNAME='rhel' + yum install -y wget curl zip unzip tar crontabs elif grep -Eqi "Amazon Linux" /etc/issue || grep -Eqi "Amazon Linux" /etc/*-release; then OSNAME='amazon' yum install -y wget zip unzip diff --git a/scripts/update_dev.sh b/scripts/update_dev.sh index 1f8caa7aa..b0b9a3529 100755 --- a/scripts/update_dev.sh +++ b/scripts/update_dev.sh @@ -50,6 +50,9 @@ elif grep -Eqi "Rocky" /etc/issue || grep -Eqi "Rocky" /etc/*-release; then elif grep -Eqi "AlmaLinux" /etc/issue || grep -Eqi "AlmaLinux" /etc/*-release; then OSNAME='rhel' yum install -y wget zip unzip +elif grep -Eqi "Anolis" /etc/issue || grep -Eqi "Anolis" /etc/*-release; then + OSNAME='rhel' + yum install -y wget curl zip unzip tar crontabs elif grep -Eqi "Amazon Linux" /etc/issue || grep -Eqi "Amazon Linux" /etc/*-release; then OSNAME='amazon' yum install -y wget zip unzip