summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoïc Le Page <llepage@fluendo.com>2020-07-10 14:36:49 +0000
committerNirbheek Chauhan <nirbheek@centricular.com>2020-10-09 02:04:26 +0530
commit8b479f0cac25a1042da2cde97ac6be6aaf62d02d (patch)
treed22f5d9ec2eba750f2185e305c2da6450d52ec24
parent97c94fc517ebfb0c62beee5d6ffab8fa435a46b3 (diff)
Add Linux Mint 20.04 Ulyana based on Ubuntu Focal
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/634>
-rw-r--r--cerbero/utils/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cerbero/utils/__init__.py b/cerbero/utils/__init__.py
index 9c53653f..85debc47 100644
--- a/cerbero/utils/__init__.py
+++ b/cerbero/utils/__init__.py
@@ -186,7 +186,7 @@ Terminating.''', file=sys.stderr)
version = v.strip('"')
d = (name, version, '');
- if d[0] in ['Ubuntu', 'debian', 'Debian GNU/Linux', 'LinuxMint']:
+ if d[0] in ['Ubuntu', 'debian', 'Debian GNU/Linux', 'LinuxMint', 'Linux Mint']:
distro = Distro.DEBIAN
distro_version = d[2].lower()
split_str = d[2].split()
@@ -228,7 +228,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']:
+ elif distro_version in ['focal', 'ulyana']:
distro_version = DistroVersion.UBUNTU_FOCAL
elif d[1].startswith('6.'):
distro_version = DistroVersion.DEBIAN_SQUEEZE