diff options
author | Edward Hervey <edward@centricular.com> | 2018-04-27 14:40:58 +0200 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2018-06-30 19:11:58 +0530 |
commit | 46bd89a55f9ee9923e1397630c52c3b1e4c63c64 (patch) | |
tree | 30027a4e57a33c75a3364635868d7bd20fa56ee6 | |
parent | 31031e14ecc152f798e401fed3ea7f3e0cecb0bb (diff) |
cerbero: Add support for Fedora 28
-rw-r--r-- | cerbero/enums.py | 1 | ||||
-rw-r--r-- | cerbero/utils/__init__.py | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/cerbero/enums.py b/cerbero/enums.py index 4cac903c..2db4d6ca 100644 --- a/cerbero/enums.py +++ b/cerbero/enums.py @@ -94,6 +94,7 @@ class DistroVersion: FEDORA_25 = 'fedora_25' FEDORA_26 = 'fedora_26' FEDORA_27 = 'fedora_27' + FEDORA_28 = 'fedora_28' REDHAT_6 = 'redhat_6' REDHAT_7 = 'redhat_7' # Amazon Linux seems to be RedHat/CentOS-based diff --git a/cerbero/utils/__init__.py b/cerbero/utils/__init__.py index 92bb4ced..63ea5301 100644 --- a/cerbero/utils/__init__.py +++ b/cerbero/utils/__init__.py @@ -243,6 +243,8 @@ def system_info(): distro_version = DistroVersion.FEDORA_26 elif d[1] == '27': distro_version = DistroVersion.FEDORA_27 + elif d[1] == '28': + distro_version = DistroVersion.FEDORA_28 elif d[1].startswith('6.'): distro_version = DistroVersion.REDHAT_6 elif d[1].startswith('7.'): |