diff options
Diffstat (limited to 'include/osdetection')
-rw-r--r-- | include/osdetection | 29 |
1 files changed, 26 insertions, 3 deletions
diff --git a/include/osdetection b/include/osdetection index 6ae742bf..16d47a71 100644 --- a/include/osdetection +++ b/include/osdetection @@ -62,7 +62,8 @@ 10.13 | 10.13.[0-9]*) OS_FULLNAME="macOS High Sierra (${OS_VERSION})" ;; 10.14 | 10.14.[0-9]*) OS_FULLNAME="macOS Mojave (${OS_VERSION})" ;; 10.15 | 10.15.[0-9]*) OS_FULLNAME="macOS Catalina (${OS_VERSION})" ;; - 11.0 | 11.0[0-9]*) OS_FULLNAME="macOS Big Sur (${OS_VERSION})" ;; + 11 | 11.[0-9]*) OS_FULLNAME="macOS Big Sur (${OS_VERSION})" ;; + 12 | 12.[0-9]*) OS_FULLNAME="macOS Monterey (${OS_VERSION})" ;; *) echo "Unknown macOS version. Do you know what version it is? Create an issue at ${PROGRAM_SOURCE}" ;; esac else @@ -168,6 +169,22 @@ OS_FULLNAME="Arch Linux" OS_VERSION="Rolling release" ;; + "arch32") + LINUX_VERSION="Arch Linux 32" + OS_FULLNAME="Arch Linux 32" + OS_VERSION="Rolling release" + ;; + "artix") + LINUX_VERSION="Artix Linux" + OS_FULLNAME="Artix Linux" + OS_VERSION="Rolling release" + ;; + "bunsenlabs") + LINUX_VERSION="BunsenLabs" + OS_NAME="BunsenLabs" + 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 '"') + ;; "centos") LINUX_VERSION="CentOS" OS_NAME="CentOS Linux" @@ -196,7 +213,7 @@ OS_NAME="Debian" 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 '"') - ;; + ;; "devuan") LINUX_VERSION="Devuan" OS_NAME="Devuan" @@ -268,6 +285,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" @@ -336,7 +359,7 @@ OS_NAME="Rocky Linux" OS_REDHAT_OR_CLONE=1 OS_VERSION=$(grep "^VERSION_ID=" /etc/os-release | awk -F= '{print $2}' | tr -d '"') - ;; + ;; "rosa") LINUX_VERSION="ROSA Linux" OS_VERSION=$(grep "^VERSION_ID=" /etc/os-release | awk -F= '{print $2}' | tr -d '"') |