Browse code

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

ptoohill1 authored on 2016/02/16 07:07:50
Showing 1 changed files
... ...
@@ -365,8 +365,9 @@ declare DISTRO
365 365
 
366 366
 function GetDistro {
367 367
     GetOSVersion
368
-    if [[ "$os_VENDOR" =~ (Ubuntu) || "$os_VENDOR" =~ (Debian) ]]; then
369
-        # 'Everyone' refers to Ubuntu / Debian releases by
368
+    if [[ "$os_VENDOR" =~ (Ubuntu) || "$os_VENDOR" =~ (Debian) || \
369
+            "$os_VENDOR" =~ (LinuxMint) ]]; then
370
+        # 'Everyone' refers to Ubuntu / Debian / Mint releases by
370 371
         # the code name adjective
371 372
         DISTRO=$os_CODENAME
372 373
     elif [[ "$os_VENDOR" =~ (Fedora) ]]; then