summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Paymushkin <maxim.paymushkin@gmail.com>2019-10-19 16:58:55 +0300
committerNirbheek Chauhan <nirbheek@centricular.com>2020-10-09 02:04:26 +0530
commit9bc64444c50769754c1094da8c8b517432877c10 (patch)
treedab3969ac753da52f4e7ffe7e35ed318abb5c3e0
parentcabea4316aa74b06a89d880147ab3fd9a845aec4 (diff)
add support Ubuntu 19.10
Signed-off-by: Maxim Paymushkin <maxim.paymushkin@gmail.com> Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/634>
-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 b2f31261..b5cb30a3 100644
--- a/cerbero/enums.py
+++ b/cerbero/enums.py
@@ -92,6 +92,7 @@ class DistroVersion:
UBUNTU_BIONIC = 'ubuntu_18_04_bionic'
UBUNTU_COSMIC = 'ubuntu_18_10_cosmic'
UBUNTU_DISCO = 'ubuntu_19_04_disco'
+ UBUNTU_EOAN = 'ubuntu_19_10_eoan'
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 211182af..1dc86f4a 100644
--- a/cerbero/utils/__init__.py
+++ b/cerbero/utils/__init__.py
@@ -222,6 +222,8 @@ Terminating.''', file=sys.stderr)
distro_version = DistroVersion.UBUNTU_COSMIC
elif d[2] in ['disco']:
distro_version = DistroVersion.UBUNTU_DISCO
+ elif d[2] in ['eoan']:
+ distro_version = DistroVersion.UBUNTU_EOAN
elif d[1].startswith('6.'):
distro_version = DistroVersion.DEBIAN_SQUEEZE
elif d[1].startswith('7.') or d[1].startswith('wheezy'):