From 63ebce74b3e0a10a941b3d0776839eda2a09e4af Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Thu, 26 Mar 2020 22:11:03 +0530 Subject: cerbero: Add support for Fedora 32 --- cerbero/enums.py | 1 + cerbero/utils/__init__.py | 2 ++ 2 files changed, 3 insertions(+) diff --git a/cerbero/enums.py b/cerbero/enums.py index 473117da..1bef7b12 100644 --- a/cerbero/enums.py +++ b/cerbero/enums.py @@ -101,6 +101,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 2680c351..47ca97ee 100644 --- a/cerbero/utils/__init__.py +++ b/cerbero/utils/__init__.py @@ -251,6 +251,8 @@ def system_info(): 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.'): -- cgit v1.2.3