From 44201f02abac47cdfb7aaf118f00c742fea03583 Mon Sep 17 00:00:00 2001 From: Michael Boelen Date: Fri, 18 Dec 2020 14:04:58 +0100 Subject: [PATCH] Added elementary OS --- include/osdetection | 6 ++++++ 1 file changed, 6 insertions(+) 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"