summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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