zypper has a "-n" (non-interactive) switch. "-y" is not known
as a global option.
Change-Id: I6537529e91c12c5f0d15a9faa2cca8aedaf7d956
... | ... |
@@ -322,7 +322,7 @@ function _ensure_lsb_release { |
322 | 322 |
# XXX: old code paths seem to have assumed SUSE platforms also |
323 | 323 |
# had "yum". Keep this ordered above yum so we don't try to |
324 | 324 |
# install the rh package. suse calls it just "lsb" |
325 |
- sudo zypper -y install lsb |
|
325 |
+ sudo zypper -n install lsb |
|
326 | 326 |
elif [[ -x $(which dnf 2>/dev/null) ]]; then |
327 | 327 |
sudo dnf install -y redhat-lsb-core |
328 | 328 |
elif [[ -x $(which yum 2>/dev/null) ]]; then |