From 8783a619c9b0fd13da7a86df63f31b5637fc20a8 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Mon, 10 Jun 2024 03:45:10 +0800 Subject: [PATCH] Update install_dev.sh --- scripts/install_dev.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/install_dev.sh b/scripts/install_dev.sh index 4bca4b5b5..4699df981 100755 --- a/scripts/install_dev.sh +++ b/scripts/install_dev.sh @@ -32,27 +32,27 @@ elif grep -Eqi "EulerOS" /etc/*-release || grep -Eqi "openEuler" /etc/*-release; yum install -y wget curl zip unzip tar crontabs elif grep -Eqi "CentOS" /etc/issue || grep -Eqi "CentOS" /etc/*-release; then OSNAME='rhel' - yum install -y wget zip unzip + yum install -y wget zip unzip tar elif grep -Eqi "Fedora" /etc/issue || grep -Eqi "Fedora" /etc/*-release; then OSNAME='rhel' - yum install -y wget zip unzip + yum install -y wget zip unzip tar elif grep -Eqi "Rocky" /etc/issue || grep -Eqi "Rocky" /etc/*-release; then OSNAME='rhel' yum install -y wget zip unzip elif grep -Eqi "AlmaLinux" /etc/issue || grep -Eqi "AlmaLinux" /etc/*-release; then OSNAME='rhel' - yum install -y wget zip unzip + yum install -y wget zip unzip tar elif grep -Eqi "Amazon Linux" /etc/issue || grep -Eqi "Amazon Linux" /etc/*-release; then OSNAME='amazon' - yum install -y wget zip unzip + yum install -y wget zip unzip tar elif grep -Eqi "Debian" /etc/issue || grep -Eqi "Debian" /etc/*-release; then OSNAME='debian' apt update -y apt install -y devscripts - apt install -y wget zip unzip + apt install -y wget zip unzip tar elif grep -Eqi "Ubuntu" /etc/issue || grep -Eqi "Ubuntu" /etc/*-release; then OSNAME='ubuntu' - apt install -y wget zip unzip + apt install -y wget zip unzip tar else OSNAME='unknow' fi