summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoïc Le Page <llepage@fluendo.com>2021-07-09 12:00:17 +0200
committerLoïc Le Page <llepage@fluendo.com>2021-07-13 18:41:59 +0200
commit98adb45c1db2688eca25ecb7c7f8b3f1e64d4b30 (patch)
tree6abf00b62ce1658e9123e4661aecd757ad3a1d94
parent162724eb9b02b0cc4c8149cdfdf216533847916c (diff)
Add Linux mint platforms based on Ubuntu Focal
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/714>
-rw-r--r--cerbero/utils/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cerbero/utils/__init__.py b/cerbero/utils/__init__.py
index 54398ac8..e8a6a46e 100644
--- a/cerbero/utils/__init__.py
+++ b/cerbero/utils/__init__.py
@@ -247,7 +247,7 @@ Terminating.''', file=sys.stderr)
distro_version = DistroVersion.UBUNTU_DISCO
elif distro_version in ['eoan']:
distro_version = DistroVersion.UBUNTU_EOAN
- elif distro_version in ['focal', 'ulyana']:
+ elif distro_version in ['focal'] or (distro_version[0] == 'u' and d[1].startswith('20.')):
distro_version = DistroVersion.UBUNTU_FOCAL
elif d[1].startswith('6.'):
distro_version = DistroVersion.DEBIAN_SQUEEZE