diff options
author | Michael Boelen <michael.boelen@cisofy.com> | 2020-12-18 16:04:58 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-18 16:04:58 +0300 |
commit | 44201f02abac47cdfb7aaf118f00c742fea03583 (patch) | |
tree | f6022df0382f1115d9b052fd1a05a93c408982b7 /include/osdetection | |
parent | a26ebd3004fc13cff5d15c5de86e09cb0baf2e13 (diff) |
Added elementary OS
Diffstat (limited to 'include/osdetection')
-rw-r--r-- | include/osdetection | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/osdetection b/include/osdetection index 36dc47a3..1596ed10 100644 --- a/include/osdetection +++ b/include/osdetection @@ -190,6 +190,12 @@ OS_VERSION=$(grep "^VERSION_ID=" /etc/os-release | awk -F= '{print $2}' | tr -d '"') OS_VERSION_FULL=$(grep "^VERSION=" /etc/os-release | awk -F= '{print $2}' | tr -d '"') ;; + "elementary") + LINUX_VERSION="elementary OS" + OS_NAME="elementary OS" + OS_VERSION=$(grep "^VERSION_ID=" /etc/os-release | awk -F= '{print $2}' | tr -d '"') + OS_VERSION_FULL=$(grep "^VERSION=" /etc/os-release | awk -F= '{print $2}' | tr -d '"') + ;; "endeavouros") LINUX_VERSION="EndeavourOS" OS_NAME="EndeavourOS" |