summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2017-01-16 19:31:57 +0200
committerSebastian Dröge <sebastian@centricular.com>2017-01-30 16:51:18 +0200
commit1fe21f04c044407a76752adedcd61ea3ed5a7cd0 (patch)
tree0eac69913a1b7b5ddb4bc68c514630e8c7914ff1
parent60f0099b64e8aa93d31202c1c3fd74db0076ad72 (diff)
Detect Debian 9.X as stretch too1.10.3
-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 d8c5dddb..2236a2ba 100644
--- a/cerbero/utils/__init__.py
+++ b/cerbero/utils/__init__.py
@@ -194,7 +194,7 @@ def system_info():
distro_version = DistroVersion.DEBIAN_WHEEZY
elif d[1].startswith('8.') or d[1].startswith('jessie'):
distro_version = DistroVersion.DEBIAN_JESSIE
- elif d[1].startswith('stretch'):
+ elif d[1].startswith('9.') or d[1].startswith('stretch'):
distro_version = DistroVersion.DEBIAN_STRETCH
else:
raise FatalError("Distribution '%s' not supported" % str(d))