From 96006658bedbdfa98e4d0685852f057aeb2ae1a6 Mon Sep 17 00:00:00 2001 From: ptoohill1 Date: Mon, 15 Feb 2016 16:07:50 -0600 Subject: [PATCH] Add LinuxMint to distro check Adds LinuxMint to the distro checking. This allows linux mint with the FORCE option to run. This will not fix for other distros that do not pass the checks. Change-Id: I42599c1bd851d2b61a56a3960f42ad051aab1727 Closes-Bug: #1545864 --- functions-common | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/functions-common b/functions-common index ff9bc0f77f..80bdbeaa57 100644 --- a/functions-common +++ b/functions-common @@ -365,8 +365,9 @@ declare DISTRO function GetDistro { GetOSVersion - if [[ "$os_VENDOR" =~ (Ubuntu) || "$os_VENDOR" =~ (Debian) ]]; then - # 'Everyone' refers to Ubuntu / Debian releases by + if [[ "$os_VENDOR" =~ (Ubuntu) || "$os_VENDOR" =~ (Debian) || \ + "$os_VENDOR" =~ (LinuxMint) ]]; then + # 'Everyone' refers to Ubuntu / Debian / Mint releases by # the code name adjective DISTRO=$os_CODENAME elif [[ "$os_VENDOR" =~ (Fedora) ]]; then