mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-02-23 07:36:12 +08:00
Linux Mint 18 support. (#2659)
Allows the deb package to be installed on Linux Mint 18.
This commit is contained in:
parent
e40b5781c2
commit
79d879ff79
1 changed files with 3 additions and 3 deletions
|
@ -15,7 +15,7 @@
|
|||
# for details, see http://www.debian.org/doc/debian-policy/ or
|
||||
# the debian-policy package
|
||||
|
||||
UBUNTU_CODENAMES="precise trusty utopic vivid"
|
||||
UBUNTU_CODENAMES="precise trusty utopic vivid" # "xenial is not yet available in nylas repos."
|
||||
DEBIAN_CODENAMES="squeeze wheezy jessie sid"
|
||||
|
||||
case "$1" in
|
||||
|
@ -24,14 +24,14 @@ case "$1" in
|
|||
|
||||
DISTRO=`lsb_release -s -i`
|
||||
|
||||
if [ "$DISTRO" = "Ubuntu" ] || [ "$DISTRO" = "elementary OS" ]; then
|
||||
if [ "$DISTRO" = "Ubuntu" ] || [ "$DISTRO" = "elementary OS" ] || [ "$DISTRO" = "LinuxMint" ] ; then
|
||||
DISTS=$UBUNTU_CODENAMES
|
||||
DISTRO="ubuntu"
|
||||
elif [ "$DISTRO" = "Debian" ]; then
|
||||
DISTS=$DEBIAN_CODENAMES
|
||||
DISTRO="debian"
|
||||
else
|
||||
echo "You are not running Debian or Ubuntu. Not adding Nylas repository."
|
||||
echo "You are not running Debian, Ubuntu, ElementaryOS or LinuxMint. Not adding Nylas repository."
|
||||
DISTRO=""
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue