diff options
author | Olivier CrĂȘte <olivier.crete@collabora.com> | 2019-05-02 10:23:15 -0400 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2019-05-16 22:17:45 +0530 |
commit | c8201838e38d3babb0f22bf47415ee4c98482e0a (patch) | |
tree | 10577ba12e612f891be84d4f8c86d3fd3412cd44 | |
parent | 389b6275d61640cb5825de4d4e4dc7e7b7b68612 (diff) |
Add Fedora 30 support
-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 1c5b3546..8c4e1f89 100644 --- a/cerbero/enums.py +++ b/cerbero/enums.py @@ -96,6 +96,7 @@ class DistroVersion: FEDORA_27 = 'fedora_27' FEDORA_28 = 'fedora_28' FEDORA_29 = 'fedora_29' + FEDORA_30 = 'fedora_30' 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 4ac23d38..9267cfc6 100644 --- a/cerbero/utils/__init__.py +++ b/cerbero/utils/__init__.py @@ -247,6 +247,8 @@ def system_info(): distro_version = DistroVersion.FEDORA_28 elif d[1] == '29': distro_version = DistroVersion.FEDORA_29 + elif d[1] == '30': + distro_version = DistroVersion.FEDORA_30 elif d[1].startswith('6.'): distro_version = DistroVersion.REDHAT_6 elif d[1].startswith('7.'): |