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-16 19:31:57 +0200
commit996095618fa01066655247e7322afdab90c21b3a (patch)
treec73f8154d478c005f87ba2cca458238618b64e96
parent33803a84e0093d931417fe08e09f79871e39952d (diff)
Detect Debian 9.X as stretch too1.11.1
-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))