From 22fe2477078dd4dfbcc0ff6bb6726ee1047b05a4 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Sat, 15 Jun 2024 23:19:11 +0800 Subject: [PATCH] Update install_dev.sh --- scripts/install_dev.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/install_dev.sh b/scripts/install_dev.sh index 751b7322d..364506ef5 100755 --- a/scripts/install_dev.sh +++ b/scripts/install_dev.sh @@ -47,14 +47,14 @@ elif grep -Eqi "AlmaLinux" /etc/issue || grep -Eqi "AlmaLinux" /etc/*-release; t elif grep -Eqi "Amazon Linux" /etc/issue || grep -Eqi "Amazon Linux" /etc/*-release; then OSNAME='amazon' yum 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 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 tar -elif grep -Eqi "Ubuntu" /etc/issue || grep -Eqi "Ubuntu" /etc/*-release; then - OSNAME='ubuntu' - apt install -y wget zip unzip tar else OSNAME='unknow' fi