Merge pull request #1150 from fredbriand/master

Added detection of Rocky Linux to include/osdetection
This commit is contained in:
Michael Boelen 2021-05-11 16:57:01 +02:00 committed by GitHub
commit 93060cf2aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -326,6 +326,12 @@
OS_FULLNAME="${OS_NAME} ${OS_VERSION_FULL}"
OS_REDHAT_OR_CLONE=1
;;
"rocky")
LINUX_VERSION="Rocky Linux"
OS_NAME="Rocky Linux"
OS_REDHAT_OR_CLONE=1
OS_VERSION=$(grep "^VERSION_ID=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')
;;
"rosa")
LINUX_VERSION="ROSA Linux"
OS_VERSION=$(grep "^VERSION_ID=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')