Update update_dev.sh

pull/185/head
midoks 3 years ago
parent 2a7c96b0f5
commit 20cb30ba51
  1. 5
      scripts/update_dev.sh

@ -22,8 +22,6 @@ elif grep -Eq "openSUSE" /etc/*-release; then
zypper refresh zypper refresh
elif grep -Eq "FreeBSD" /etc/*-release; then elif grep -Eq "FreeBSD" /etc/*-release; then
OSNAME='freebsd' OSNAME='freebsd'
elif grep -Eqi "Arch" /etc/issue || grep -Eq "Arch" /etc/*-release; then
OSNAME='arch'
elif grep -Eqi "CentOS" /etc/issue || grep -Eq "CentOS" /etc/*-release; then elif grep -Eqi "CentOS" /etc/issue || grep -Eq "CentOS" /etc/*-release; then
OSNAME='centos' OSNAME='centos'
yum install -y wget zip unzip yum install -y wget zip unzip
@ -36,6 +34,9 @@ elif grep -Eqi "Rocky" /etc/issue || grep -Eq "Rocky" /etc/*-release; then
elif grep -Eqi "AlmaLinux" /etc/issue || grep -Eq "AlmaLinux" /etc/*-release; then elif grep -Eqi "AlmaLinux" /etc/issue || grep -Eq "AlmaLinux" /etc/*-release; then
OSNAME='alma' OSNAME='alma'
yum install -y wget zip unzip yum install -y wget zip unzip
elif grep -Eqi "Amazon Linux" /etc/issue || grep -Eq "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 -Eq "Debian" /etc/*-release; then
OSNAME='debian' OSNAME='debian'
apt install -y wget zip unzip apt install -y wget zip unzip

Loading…
Cancel
Save