Skip to content

Commit

Permalink
Merge "Install minimal lsb-release package on openSUSE"
Browse files Browse the repository at this point in the history
  • Loading branch information
Jenkins authored and openstack-gerrit committed Sep 28, 2017
2 parents d854800 + 5ef8a12 commit 7c9542e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions functions-common
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7c9542e

Please sign in to comment.