diff options
author | Seungha Yang <seungha@centricular.com> | 2020-03-31 00:20:59 +0900 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2020-10-09 02:04:26 +0530 |
commit | 836e6fa3f0525e1123ed80685de3427f42f48887 (patch) | |
tree | f5b5d1f5063192217733f034e5cb823513b77632 | |
parent | 9bc64444c50769754c1094da8c8b517432877c10 (diff) |
Add support for Ubuntu 20.04
Add Ubunut 20.04 Focal Fossa to known distro list
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/634>
-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 b5cb30a3..e81c821e 100644 --- a/cerbero/enums.py +++ b/cerbero/enums.py @@ -93,6 +93,7 @@ class DistroVersion: UBUNTU_COSMIC = 'ubuntu_18_10_cosmic' UBUNTU_DISCO = 'ubuntu_19_04_disco' UBUNTU_EOAN = 'ubuntu_19_10_eoan' + UBUNTU_FOCAL = 'ubuntu_20_04_focal' FEDORA_16 = 'fedora_16' FEDORA_17 = 'fedora_17' FEDORA_18 = 'fedora_18' diff --git a/cerbero/utils/__init__.py b/cerbero/utils/__init__.py index 1dc86f4a..934fe082 100644 --- a/cerbero/utils/__init__.py +++ b/cerbero/utils/__init__.py @@ -224,6 +224,8 @@ Terminating.''', file=sys.stderr) distro_version = DistroVersion.UBUNTU_DISCO elif d[2] in ['eoan']: distro_version = DistroVersion.UBUNTU_EOAN + elif d[2] in ['focal']: + distro_version = DistroVersion.UBUNTU_FOCAL elif d[1].startswith('6.'): distro_version = DistroVersion.DEBIAN_SQUEEZE elif d[1].startswith('7.') or d[1].startswith('wheezy'): |