From ea38da3439efca23bebc859679b7a63a7ec36450 Mon Sep 17 00:00:00 2001 From: Michael Boelen Date: Sun, 28 Jun 2020 14:58:23 +0200 Subject: [PATCH] Add /etc/os-release detection of Linux Mint --- include/osdetection | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/osdetection b/include/osdetection index ac099bde..783662ad 100644 --- a/include/osdetection +++ b/include/osdetection @@ -194,6 +194,12 @@ OS_NAME="Kali Linux" 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") LINUX_VERSION="Manjaro" OS_FULLNAME="Manjaro Linux"