From 4a8496eca628f03944cd2abdce38bb6c5f521bdf Mon Sep 17 00:00:00 2001 From: Derek Morton Date: Mon, 8 Apr 2013 23:46:08 -0500 Subject: [PATCH] Linux Mint support 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 --- functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions b/functions index 445af5fa57..9fdc391c5c 100644 --- a/functions +++ b/functions @@ -299,7 +299,7 @@ GetOSVersion() { os_RELEASE=$(lsb_release -r -s) os_UPDATE="" os_PACKAGE="rpm" - if [[ "Debian,Ubuntu" =~ $os_VENDOR ]]; then + if [[ "Debian,Ubuntu,LinuxMint" =~ $os_VENDOR ]]; then os_PACKAGE="deb" elif [[ "SUSE LINUX" =~ $os_VENDOR ]]; then lsb_release -d -s | grep -q openSUSE