diff options
-rw-r--r-- | cerbero/enums.py | 1 | ||||
-rw-r--r-- | cerbero/utils/__init__.py | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/cerbero/enums.py b/cerbero/enums.py index e81c821e..2f877a09 100644 --- a/cerbero/enums.py +++ b/cerbero/enums.py @@ -75,6 +75,7 @@ class DistroVersion: DEBIAN_STRETCH = 'debian_09_stretch' DEBIAN_BUSTER = 'debian_10_buster' DEBIAN_BULLSEYE = 'debian_11_bullseye' + DEBIAN_SID = 'debian_99_sid' UBUNTU_LUCID = 'ubuntu_10_04_lucid' UBUNTU_MAVERICK = 'ubuntu_10_10_maverick' UBUNTU_NATTY = 'ubuntu_11_04_natty' diff --git a/cerbero/utils/__init__.py b/cerbero/utils/__init__.py index 934fe082..ed5dd11e 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', 'LinuxMint']: + if d[0] in ['Ubuntu', 'debian', 'Debian GNU/Linux', 'LinuxMint']: distro = Distro.DEBIAN if d[2] in ['maverick', 'isadora']: distro_version = DistroVersion.UBUNTU_MAVERICK @@ -238,6 +238,8 @@ Terminating.''', file=sys.stderr) distro_version = DistroVersion.DEBIAN_BUSTER elif d[1].startswith('11.') or d[1].startswith('bullseye'): distro_version = DistroVersion.DEBIAN_BULLSEYE + elif d[1] == 'unstable' and d[2] == 'sid': + distro_version = DistroVersion.DEBIAN_SID else: raise FatalError("Distribution '%s' not supported" % str(d)) elif d[0] in ['RedHat', 'Fedora', 'CentOS', 'Red Hat Enterprise Linux Server', 'CentOS Linux']: |