diff options
author | Nicolas Dufresne <nicolas.dufresne@collabora.com> | 2018-11-06 05:59:07 -0500 |
---|---|---|
committer | Sebastian Dröge <slomo@coaxion.net> | 2018-11-09 08:27:18 +0000 |
commit | 1f40e1b6a0138443645666516028c58c07a8870b (patch) | |
tree | 8ed6385aef5cbb626dd70e0fc2522d9494674ee8 | |
parent | 0f9f84a6831cc613571cc9ff85656057f542a972 (diff) |
Add Fedora 29 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 3d8226ac..83d6ec61 100644 --- a/cerbero/enums.py +++ b/cerbero/enums.py @@ -95,6 +95,7 @@ class DistroVersion: FEDORA_26 = 'fedora_26' FEDORA_27 = 'fedora_27' FEDORA_28 = 'fedora_28' + FEDORA_29 = 'fedora_29' 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 27d0ae33..8db446fa 100644 --- a/cerbero/utils/__init__.py +++ b/cerbero/utils/__init__.py @@ -245,6 +245,8 @@ def system_info(): distro_version = DistroVersion.FEDORA_27 elif d[1] == '28': distro_version = DistroVersion.FEDORA_28 + elif d[1] == '29': + distro_version = DistroVersion.FEDORA_29 elif d[1].startswith('6.'): distro_version = DistroVersion.REDHAT_6 elif d[1].startswith('7.'): |