diff --git a/functions-common b/functions-common index 118f62f2ca..c968531fd1 100644 --- a/functions-common +++ b/functions-common @@ -319,10 +319,7 @@ function _ensure_lsb_release { if [[ -x $(command -v apt-get 2>/dev/null) ]]; then sudo apt-get install -y lsb-release elif [[ -x $(command -v zypper 2>/dev/null) ]]; then - # 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 -n install lsb + sudo zypper -n install lsb-release elif [[ -x $(command -v dnf 2>/dev/null) ]]; then sudo dnf install -y redhat-lsb-core elif [[ -x $(command -v yum 2>/dev/null) ]]; then