Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/devbot/distro.py
diff options
context:
space:
mode:
authorDaniel Narvaez <dwnarvaez@gmail.com>2012-11-28 13:49:15 (GMT)
committer Daniel Narvaez <dwnarvaez@gmail.com>2012-11-28 13:49:15 (GMT)
commitd67e269de9e21ce4ad4cd1608cc8b0ff969c0642 (patch)
tree1248fbe24ac685f0d1eee39433d21a5bd505d30c /devbot/distro.py
parent19682716ac2d00cfb378bb83db9195bd3ac62135 (diff)
Improve feedback for non supported distributions
If we are on a distribution which is known, but the version or the architecture is not supported, suggest a list of packages to install.
Diffstat (limited to 'devbot/distro.py')
-rw-r--r--devbot/distro.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/devbot/distro.py b/devbot/distro.py
index 6bfc43c..a5857c8 100644
--- a/devbot/distro.py
+++ b/devbot/distro.py
@@ -36,7 +36,8 @@ def get_distro_info():
if _distro_info is None:
_distro_info = unknown_distro
-
+
+ if not _distro_info.supported:
print "*********************************************************\n" \
"You are running an unsupported distribution. You might be\n" \
"able to make sugar work by installing or building \n" \