Skip to content

Commit 9600665

Browse files
committed
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
1 parent f130b28 commit 9600665

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

functions-common

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -365,8 +365,9 @@ declare DISTRO
365365

366366
function GetDistro {
367367
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
370371
# the code name adjective
371372
DISTRO=$os_CODENAME
372373
elif [[ "$os_VENDOR" =~ (Fedora) ]]; then

0 commit comments

Comments
 (0)