From e1d49ff007a2c5d59b440c57a13f563d95b60576 Mon Sep 17 00:00:00 2001 From: Fred Date: Tue, 11 May 2021 10:15:23 -0400 Subject: [PATCH] Added detection of Rocky Linux to include/osdetection --- include/osdetection | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/osdetection b/include/osdetection index 459bc72e..83839dde 100644 --- a/include/osdetection +++ b/include/osdetection @@ -360,6 +360,12 @@ OS_NAME="Zorin OS" OS_VERSION=$(grep "^VERSION_ID=" /etc/os-release | awk -F= '{print $2}' | tr -d '"') OS_VERSION_FULL=$(grep "^VERSION=" /etc/os-release | awk -F= '{print $2}' | tr -d '"') + ;; + "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 '"') ;; *) ReportException "OS Detection" "Unknown OS found in /etc/os-release - Please create an issue on GitHub and share the the contents (cat /etc/os-release): ${PROGRAM_SOURCE}"