This commit is contained in:
Ronald van Zantvoort 2015-04-04 15:44:43 +02:00
parent 1e6f249ea1
commit be73cb4067

View file

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