From 43054c0999f6e90f2dfef16228e6a2a147a36e6e Mon Sep 17 00:00:00 2001 From: Michael Boelen Date: Fri, 30 Jul 2021 08:17:03 +0200 Subject: [PATCH] Added 'RedHat' to OS detection routine (RHEL 6) --- include/osdetection | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/osdetection b/include/osdetection index 16d47a71..a4d3aa41 100644 --- a/include/osdetection +++ b/include/osdetection @@ -346,7 +346,7 @@ OS_VERSION_FULL=$(grep "^VERSION=" /etc/os-release | awk -F= '{print $2}' | tr -d '"') OS_NAME="Raspbian" ;; - "rhel") + "redhat" | "rhel") LINUX_VERSION="RHEL" OS_NAME="RHEL" OS_VERSION=$(grep "^VERSION_ID=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')