diff --git a/scripts/install_dev.sh b/scripts/install_dev.sh index 66f9bcfb5..99cbf2de8 100755 --- a/scripts/install_dev.sh +++ b/scripts/install_dev.sh @@ -32,27 +32,27 @@ elif grep -Eq "openSUSE" /etc/*-release; then zypper refresh elif grep -Eq "FreeBSD" /etc/*-release; then OSNAME='freebsd' -elif grep -Eqi "CentOS" /etc/issue || grep -Eq "CentOS" /etc/*-release; then +elif grep -Eqi "CentOS" /etc/issue || grep -Eqi "CentOS" /etc/*-release; then OSNAME='rhel' yum install -y wget zip unzip -elif grep -Eqi "Fedora" /etc/issue || grep -Eq "Fedora" /etc/*-release; then +elif grep -Eqi "Fedora" /etc/issue || grep -Eqi "Fedora" /etc/*-release; then OSNAME='fedora' yum install -y wget zip unzip -elif grep -Eqi "Rocky" /etc/issue || grep -Eq "Rocky" /etc/*-release; then +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 -Eq "AlmaLinux" /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 "Amazon Linux" /etc/issue || grep -Eq "Amazon Linux" /etc/*-release; then +elif grep -Eqi "Amazon Linux" /etc/issue || grep -Eqi "Amazon Linux" /etc/*-release; then OSNAME='amazon' yum install -y wget zip unzip -elif grep -Eqi "Debian" /etc/issue || grep -Eq "Debian" /etc/*-release; then +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 -elif grep -Eqi "Ubuntu" /etc/issue || grep -Eq "Ubuntu" /etc/*-release; then +elif grep -Eqi "Ubuntu" /etc/issue || grep -Eqi "Ubuntu" /etc/*-release; then OSNAME='ubuntu' apt install -y wget zip unzip else