Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/scripts/check-system
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/check-system')
-rwxr-xr-xscripts/check-system5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/check-system b/scripts/check-system
index 7484713..0801656 100755
--- a/scripts/check-system
+++ b/scripts/check-system
@@ -2,6 +2,7 @@
import os
import subprocess
+import sys
binaries = [{ "name": "git",
"packages": { "fedora": "git",
@@ -154,6 +155,10 @@ for info in imports:
if packages:
args = ["sudo"]
+ if "SUGAR_BUILDBOT" in os.environ:
+ print "Missing packages %s" % " ".join(packages)
+ sys.exit(1)
+
if distro == "fedora":
args.extend(["yum", "install"])
elif distro == "ubuntu":