From e2aa40665c95a278286cfb39c530960ed5f11f71 Mon Sep 17 00:00:00 2001 From: just-some-tall-bloke Date: Fri, 9 Jul 2021 11:06:12 +0200 Subject: [PATCH] Update osdetection Added NethServer https://www.nethserver.org/ --- include/osdetection | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/osdetection b/include/osdetection index 7b1e911c..47dbd216 100644 --- a/include/osdetection +++ b/include/osdetection @@ -279,6 +279,12 @@ OS_NAME="Manjaro" OS_VERSION="Rolling release" ;; + "nethserver") + LINUX_VERSION="NethServer" + OS_NAME="NethServer" + OS_REDHAT_OR_CLONE=1 + OS_VERSION=$(grep "^VERSION_ID=" /etc/os-release | awk -F= '{print $2}' | tr -d '"') + ;; "nixos") LINUX_VERSION="NixOS" OS_NAME="NixOS"