From 2b0a0ba2e1b98563d4984c7bcb59769672c11bd0 Mon Sep 17 00:00:00 2001 From: Aditya Shastri Date: Thu, 14 May 2020 20:50:43 -0700 Subject: Addedd OS detection for Oracle Linux --- include/osdetection | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/osdetection b/include/osdetection index 08fd931e..7ad153d6 100644 --- a/include/osdetection +++ b/include/osdetection @@ -195,6 +195,12 @@ OS_NAME="Manjaro" OS_VERSION="Rolling release" ;; + "ol") + LINUX_VERSION="Oracle Linux" + OS_NAME="Oracle Linux" + OS_REDHAT_OR_CLONE=1 + OS_VERSION=$(grep "^VERSION_ID=" /etc/os-release | awk -F= '{print $2}' | tr -d '"') + ;; "opensuse-tumbleweed") LINUX_VERSION="openSUSE Tumbleweed" # It's rolling release but has a snapshot version (the date of the snapshot) -- cgit v1.2.3