From be73cb4067625e6a5fcaa7a9d7361ff86a305217 Mon Sep 17 00:00:00 2001 From: Ronald van Zantvoort Date: Sat, 4 Apr 2015 15:44:43 +0200 Subject: [PATCH] Fix #532 --- bootstrap-salt.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bootstrap-salt.sh b/bootstrap-salt.sh index 13d4993..5f0e460 100755 --- a/bootstrap-salt.sh +++ b/bootstrap-salt.sh @@ -981,6 +981,10 @@ __ubuntu_derivatives_translation() { "elementary_os") _major=$(echo "$DISTRO_VERSION" | sed 's/\.//g') ;; + "linuxmint") + export LSB_ETC_LSB_RELEASE=/etc/upstream-release/lsb-release + _major=$(echo "$DISTRO_VERSION" | sed 's/^\([0-9]*\).*/\1/g') + ;; *) _major=$(echo "$DISTRO_VERSION" | sed 's/^\([0-9]*\).*/\1/g') ;;