diff --git a/include/osdetection b/include/osdetection index e1f55350..3e4b8610 100644 --- a/include/osdetection +++ b/include/osdetection @@ -173,9 +173,17 @@ OS_NAME="CoreOS Linux" OS_VERSION=$(grep "^VERSION_ID=" /etc/os-release | awk -F= '{print $2}' | tr -d '"') ;; + "debian") + LINUX_VERSION="Debian" + OS_FULLNAME=$(grep "^PRETTY_NAME=" /etc/os-release | awk -F= '{print $2}' | tr -d '"') + 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 '"') + OS_NAME="Debian" + ;; "manjaro") LINUX_VERSION="Manjaro" OS_FULLNAME="Manjaro Linux" + OS_NAME="Manjaro" OS_VERSION="Rolling release" ;; "opensuse-tumbleweed") @@ -195,7 +203,8 @@ LINUX_VERSION="Ubuntu" OS_FULLNAME=$(grep "^PRETTY_NAME=" /etc/os-release | awk -F= '{print $2}' | tr -d '"') OS_VERSION=$(grep "^VERSION_ID=" /etc/os-release | awk -F= '{print $2}' | tr -d '"') - OS_NAME="Ubuntu Linux" + OS_VERSION_FULL=$(grep "^VERSION=" /etc/os-release | awk -F= '{print $2}' | tr -d '"') + OS_NAME="Ubuntu" ;; "rhel") LINUX_VERSION="RHEL"