Add /etc/os-release detection of Linux Mint

This commit is contained in:
Michael Boelen 2020-06-28 14:58:23 +02:00
parent 0eaa9bc9c5
commit ea38da3439
No known key found for this signature in database
GPG Key ID: 26141F77A09D7F04
1 changed files with 6 additions and 0 deletions

View File

@ -194,6 +194,12 @@
OS_NAME="Kali Linux" OS_NAME="Kali Linux"
OS_VERSION="Rolling release" OS_VERSION="Rolling release"
;; ;;
"linuxmint")
LINUX_VERSION="Linux Mint"
OS_NAME="Linux Mint"
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 '"')
;;
"manjaro") "manjaro")
LINUX_VERSION="Manjaro" LINUX_VERSION="Manjaro"
OS_FULLNAME="Manjaro Linux" OS_FULLNAME="Manjaro Linux"