Addedd OS detection for Oracle Linux

This commit is contained in:
Aditya Shastri 2020-05-14 20:50:43 -07:00
parent e410d68ce6
commit 2b0a0ba2e1
1 changed files with 6 additions and 0 deletions

View File

@ -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)