Commit 3c3e77fe authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐠
Browse files

cerbero: add debian unstable/sid to the distro list

Part-of: <gstreamer/cerbero!495>
parent 35b3275d
......@@ -74,6 +74,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'
......
......@@ -187,7 +187,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
......@@ -239,6 +239,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']:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment