diff options
author | Aditya Shastri <jayaramaditya1515@gmail.com> | 2020-05-15 06:50:43 +0300 |
---|---|---|
committer | Aditya Shastri <jayaramaditya1515@gmail.com> | 2020-05-15 06:51:11 +0300 |
commit | 2b0a0ba2e1b98563d4984c7bcb59769672c11bd0 (patch) | |
tree | ea206e5cd92b8530a2074a421147cce87fdec191 | |
parent | e410d68ce6bed20e3d44e797ea0e10ff33ab9bb1 (diff) |
Addedd OS detection for Oracle Linux
-rw-r--r-- | include/osdetection | 6 |
1 files changed, 6 insertions, 0 deletions
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) |