diff options
-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.'): |