From 982267515d2c541c812989ce95dbdbcb8954fa0d Mon Sep 17 00:00:00 2001 From: Chojnowski Date: Sat, 24 Mar 2018 13:56:02 -0400 Subject: [PATCH] update system_info.py add LINUXMINT to distro list --- base/system_info.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/base/system_info.py b/base/system_info.py index f84de4c..011fc93 100644 --- a/base/system_info.py +++ b/base/system_info.py @@ -80,7 +80,7 @@ def linux_get_dist(): """ Return the running distribution group RHEL: RHEL, CENTOS, FEDORA - DEBIAN: UBUNTU, DEBIAN + DEBIAN: UBUNTU, DEBIAN, LINUXMINT """ linux_tuple = platform.linux_distribution() dist_name = linux_tuple[0] @@ -88,7 +88,7 @@ def linux_get_dist(): if dist_name_upper in ["RHEL", "CENTOS LINUX", "FEDORA"]: return "RHEL" - elif dist_name_upper in ["DEBIAN", "UBUNTU"]: + elif dist_name_upper in ["DEBIAN", "UBUNTU", "LINUXMINT"]: return "DEBIAN" raise NotImplemented("Unknown platform '%s'" % dist_name)