diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2020-03-26 22:11:03 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2020-06-28 03:22:22 +0530 |
commit | 789e3d3cb8b78aa4b26b32ae3c81c3079229f894 (patch) | |
tree | 782adb0602b493d5914cc8cfaac6ce66516444e2 | |
parent | 665ed819319480082b8a99895b3d5706abfb9b64 (diff) |
cerbero: Add support for Fedora 32
-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 4137e027..5ff66e85 100644 --- a/cerbero/enums.py +++ b/cerbero/enums.py @@ -107,6 +107,7 @@ class DistroVersion: FEDORA_29 = 'fedora_29' FEDORA_30 = 'fedora_30' FEDORA_31 = 'fedora_31' + FEDORA_32 = 'fedora_32' 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 254ea6d6..9c914ff3 100644 --- a/cerbero/utils/__init__.py +++ b/cerbero/utils/__init__.py @@ -268,6 +268,8 @@ Terminating.''', file=sys.stderr) distro_version = DistroVersion.FEDORA_30 elif d[1] == '31': distro_version = DistroVersion.FEDORA_31 + elif d[1] == '32': + distro_version = DistroVersion.FEDORA_32 elif d[1].startswith('6.'): distro_version = DistroVersion.REDHAT_6 elif d[1].startswith('7.'): |