From d7ae3623e70345a4c71e1fc7b37d6006f2b81c9c Mon Sep 17 00:00:00 2001 From: midoks Date: Thu, 14 Jul 2022 11:30:30 +0800 Subject: [PATCH] Update getos.sh --- scripts/getos.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/getos.sh b/scripts/getos.sh index e98e89fba..13f8af9d5 100755 --- a/scripts/getos.sh +++ b/scripts/getos.sh @@ -14,6 +14,8 @@ 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 OSNAME='centos' +elif grep -Eqi "AlmaLinux" /etc/issue || grep -Eq "AlmaLinux" /etc/*-release; then + OSNAME='alma' elif grep -Eqi "Rocky" /etc/issue || grep -Eq "Rocky" /etc/*-release; then OSNAME='rocky' elif grep -Eqi "Red Hat Enterprise Linux Server" /etc/issue || grep -Eq "Red Hat Enterprise Linux Server" /etc/*-release; then