From f6f1753eb7097db7ed1530bef9cd965da24f6edd Mon Sep 17 00:00:00 2001 From: Niels Abspoel Date: Tue, 9 Jul 2013 21:47:45 +0200 Subject: [PATCH] SLES 11 SP3 support added to bootstrap script Needed to tweak the script because of lsb_release output changed to 'SUSE LINUX' instead of 'SUSE' --- bootstrap-salt.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bootstrap-salt.sh b/bootstrap-salt.sh index 31d4302..d0008e4 100755 --- a/bootstrap-salt.sh +++ b/bootstrap-salt.sh @@ -572,6 +572,10 @@ __gather_linux_system_info() { # lsb_release -si returns "openSUSE project" on openSUSE 12.3 DISTRO_NAME="opensuse" fi + if [ "${DISTRO_NAME}" = "SUSE LINUX" ]; then + # lsb_release -si returns "SUSE LINUX" on SLES 11 SP3 + DISTRO_NAME="suse" + fi rv=$(lsb_release -sr) [ "${rv}x" != "x" ] && DISTRO_VERSION=$(__parse_version_string "$rv") elif [ -f /etc/lsb-release ]; then