Merge pull request #1186 from just-some-tall-bloke/patch-1

Added detection for NethServer
This commit is contained in:
Michael Boelen 2021-07-15 13:16:09 +02:00 committed by GitHub
commit e0a5555715
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

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"