From 8da3f86b87f64bbe05eae00d8f430f8ee77b8923 Mon Sep 17 00:00:00 2001 From: "Scott E. Graves" Date: Sun, 7 Apr 2019 19:09:11 -0500 Subject: [PATCH] Linux Mint 19/19.1 support --- CHANGELOG.md | 2 ++ public/detect_linux.sh | 6 ++++++ releases.json | 3 +++ 3 files changed, 11 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index aa34878..faf067a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## 1.0.3 ## * Linux distribution support * Debian 9 + * Linux Mint 19 + * Linux Mint 19.1 * Solus * Ubuntu 18.04 * Ubuntu 18.10 diff --git a/public/detect_linux.sh b/public/detect_linux.sh index a9e6010..8d9ed60 100644 --- a/public/detect_linux.sh +++ b/public/detect_linux.sh @@ -9,6 +9,12 @@ elif [ -f /etc/lsb-release ]; then . /etc/lsb-release DISTNAME=$(echo ${DISTRIB_ID} | awk '{print tolower($0)}') DISTVER=${DISTRIB_RELEASE} + if [ "$DISTNAME" = "linuxmint" ]; then + if [ "$DISTVER" = "19" ] || [ "$DISTVER" = "19.1" ]; then + DISNAME=ubuntu + DISTVER=18.04 + fi + fi elif [ -f /etc/debian_version ]; then DISTNAME=debian DISTVER=$(head -1 /etc/debian_version|awk -F. '{print $1}') diff --git a/releases.json b/releases.json index 81d5a32..1e54fa1 100644 --- a/releases.json +++ b/releases.json @@ -41,6 +41,9 @@ "darwin": [ "1.0.3", "1.0.2" + ], + "unknown": [ + "unavailable" ] } } \ No newline at end of file