Update osdetection

Added NethServer

https://www.nethserver.org/
This commit is contained in:
just-some-tall-bloke 2021-07-09 11:06:12 +02:00 committed by GitHub
parent 7867759750
commit e2aa40665c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"