lsb-release is a dependency of "lsb", so it used to work
before just fine as well, but it was installing about 300MB
of "stuff" that we don't actually need..
Change-Id: I25c7c750cbaeb40bf4f2e8695608c4b1003289ea
| ... | ... |
@@ -319,10 +319,7 @@ function _ensure_lsb_release {
|
| 319 | 319 |
if [[ -x $(command -v apt-get 2>/dev/null) ]]; then |
| 320 | 320 |
sudo apt-get install -y lsb-release |
| 321 | 321 |
elif [[ -x $(command -v zypper 2>/dev/null) ]]; then |
| 322 |
- # XXX: old code paths seem to have assumed SUSE platforms also |
|
| 323 |
- # had "yum". Keep this ordered above yum so we don't try to |
|
| 324 |
- # install the rh package. suse calls it just "lsb" |
|
| 325 |
- sudo zypper -n install lsb |
|
| 322 |
+ sudo zypper -n install lsb-release |
|
| 326 | 323 |
elif [[ -x $(command -v dnf 2>/dev/null) ]]; then |
| 327 | 324 |
sudo dnf install -y redhat-lsb-core |
| 328 | 325 |
elif [[ -x $(command -v yum 2>/dev/null) ]]; then |