summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2020-03-26 22:11:03 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2020-06-28 03:32:47 +0530
commit63ebce74b3e0a10a941b3d0776839eda2a09e4af (patch)
tree2a43021fce3488115294320e81999444d5f0b712
parenta8e41df2bb30a7ca8fe09ef96a312df8fad5ff2f (diff)
cerbero: Add support for Fedora 321.14
-rw-r--r--cerbero/enums.py1
-rw-r--r--cerbero/utils/__init__.py2
2 files changed, 3 insertions, 0 deletions
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.'):