Skip to content

Commit 899dfee

Browse files
committed
Fix lsb installation for SUSE
zypper has a "-n" (non-interactive) switch. "-y" is not known as a global option. Change-Id: I6537529e91c12c5f0d15a9faa2cca8aedaf7d956
1 parent 925e2d9 commit 899dfee

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

functions-common

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ function _ensure_lsb_release {
322322
# XXX: old code paths seem to have assumed SUSE platforms also
323323
# had "yum". Keep this ordered above yum so we don't try to
324324
# install the rh package. suse calls it just "lsb"
325-
sudo zypper -y install lsb
325+
sudo zypper -n install lsb
326326
elif [[ -x $(which dnf 2>/dev/null) ]]; then
327327
sudo dnf install -y redhat-lsb-core
328328
elif [[ -x $(which yum 2>/dev/null) ]]; then

0 commit comments

Comments
 (0)