Linux Mint 19/19.1 support

This commit is contained in:
Scott E. Graves
2019-04-07 19:09:11 -05:00
parent 9207d6af3f
commit 8da3f86b87
3 changed files with 11 additions and 0 deletions

View File

@@ -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

View File

@@ -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}')

View File

@@ -41,6 +41,9 @@
"darwin": [
"1.0.3",
"1.0.2"
],
"unknown": [
"unavailable"
]
}
}