Skip to content

Commit

Permalink
Addedd OS detection for Oracle Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
Aditya Shastri committed May 15, 2020
1 parent e410d68 commit 2b0a0ba
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions include/osdetection
Expand Up @@ -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)
Expand Down

0 comments on commit 2b0a0ba

Please sign in to comment.