From 899dfeef466914c6695e6f3baa1c6576e784da8f Mon Sep 17 00:00:00 2001 From: Thomas Bechtold Date: Thu, 3 Mar 2016 11:27:53 +0100 Subject: [PATCH] Fix lsb installation for SUSE zypper has a "-n" (non-interactive) switch. "-y" is not known as a global option. Change-Id: I6537529e91c12c5f0d15a9faa2cca8aedaf7d956 --- functions-common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions-common b/functions-common index a26cc50db6..d6e466357a 100644 --- a/functions-common +++ b/functions-common @@ -322,7 +322,7 @@ function _ensure_lsb_release { # XXX: old code paths seem to have assumed SUSE platforms also # had "yum". Keep this ordered above yum so we don't try to # install the rh package. suse calls it just "lsb" - sudo zypper -y install lsb + sudo zypper -n install lsb elif [[ -x $(which dnf 2>/dev/null) ]]; then sudo dnf install -y redhat-lsb-core elif [[ -x $(which yum 2>/dev/null) ]]; then