summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 5ff66e85..b2f31261 100644
--- a/cerbero/enums.py
+++ b/cerbero/enums.py
@@ -90,6 +90,7 @@ class DistroVersion:
UBUNTU_XENIAL = 'ubuntu_16_04_xenial'
UBUNTU_ARTFUL = 'ubuntu_17_10_artful'
UBUNTU_BIONIC = 'ubuntu_18_04_bionic'
+ UBUNTU_COSMIC = 'ubuntu_18_10_cosmic'
UBUNTU_DISCO = 'ubuntu_19_04_disco'
FEDORA_16 = 'fedora_16'
FEDORA_17 = 'fedora_17'
diff --git a/cerbero/utils/__init__.py b/cerbero/utils/__init__.py
index 9c914ff3..211182af 100644
--- a/cerbero/utils/__init__.py
+++ b/cerbero/utils/__init__.py
@@ -218,6 +218,8 @@ Terminating.''', file=sys.stderr)
distro_version = DistroVersion.UBUNTU_ARTFUL
elif d[2] in ['bionic', 'tara', 'tessa']:
distro_version = DistroVersion.UBUNTU_BIONIC
+ elif d[2] in ['cosmic']:
+ distro_version = DistroVersion.UBUNTU_COSMIC
elif d[2] in ['disco']:
distro_version = DistroVersion.UBUNTU_DISCO
elif d[1].startswith('6.'):