diff options
author | Michael Boelen <michael.boelen@cisofy.com> | 2019-08-04 20:18:16 +0300 |
---|---|---|
committer | Michael Boelen <michael.boelen@cisofy.com> | 2019-08-04 20:18:16 +0300 |
commit | f2b385fbf7017d56759040ae6451e4f829ac1c74 (patch) | |
tree | 930155640f7b10c0eacba6652de19b2a876c12e7 /include | |
parent | da055ae0aa8b0dede7f8cf1aba5fa6280580a1a3 (diff) |
Initial support for Clear Linux OS
Diffstat (limited to 'include')
-rw-r--r-- | include/osdetection | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/osdetection b/include/osdetection index 95f2e014..20e50b26 100644 --- a/include/osdetection +++ b/include/osdetection @@ -146,6 +146,11 @@ OS_FULLNAME="Arch Linux" OS_VERSION="Rolling release" ;; + "clear-linux-os") + LINUX_VERSION="Clear Linux OS" + OS_FULLNAME=$(grep "^PRETTY_NAME=" /etc/os-release | awk -F= '{print $2}' | tr -d '"') + OS_VERSION="Rolling release" + ;; "coreos") LINUX_VERSION="CoreOS" OS_FULLNAME=$(grep "^PRETTY_NAME=" /etc/os-release | awk -F= '{print $2}' | tr -d '"') |