This patch allows DevStack installation on Linux Mint. Installations
on Linux Mint previously failed since its distribution ID did not
match any of the package installation methods and defaulted to using
rpm packages. Linux Mint is a Ubuntu derivative and such does not have
native support for rpm packages.
This change adds "LinuxMint" to the distribution matching options along
with Debian and Ubuntu.
Change-Id: Ice6a201cabe07373a9c1354699777835addeac53
Fixes: bug #1166422
| ... | ... |
@@ -299,7 +299,7 @@ GetOSVersion() {
|
| 299 | 299 |
os_RELEASE=$(lsb_release -r -s) |
| 300 | 300 |
os_UPDATE="" |
| 301 | 301 |
os_PACKAGE="rpm" |
| 302 |
- if [[ "Debian,Ubuntu" =~ $os_VENDOR ]]; then |
|
| 302 |
+ if [[ "Debian,Ubuntu,LinuxMint" =~ $os_VENDOR ]]; then |
|
| 303 | 303 |
os_PACKAGE="deb" |
| 304 | 304 |
elif [[ "SUSE LINUX" =~ $os_VENDOR ]]; then |
| 305 | 305 |
lsb_release -d -s | grep -q openSUSE |