Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/devbot/system.py
diff options
context:
space:
mode:
authorDaniel Narvaez <dwnarvaez@gmail.com>2012-11-28 23:25:16 (GMT)
committer Daniel Narvaez <dwnarvaez@gmail.com>2012-11-28 23:25:16 (GMT)
commite92095e2a4b544ceb57cf5392c95ddc1979a543f (patch)
treed8333c7da2e4e745371623a571686f07e96f0330 /devbot/system.py
parent0b61f4f6d3bf0a25c6775619b53fa1b4cafafb94 (diff)
Install packages only if the list is not emptywq
Diffstat (limited to 'devbot/system.py')
-rw-r--r--devbot/system.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/devbot/system.py b/devbot/system.py
index d348f2a..0bbfe8d 100644
--- a/devbot/system.py
+++ b/devbot/system.py
@@ -103,7 +103,8 @@ def run_checks(package_manager, checks, packages):
_print_checks(_packages_not_found)
return False
- package_manager.install_packages(to_install)
+ if to_install:
+ package_manager.install_packages(to_install)
elif failed_checks:
print "Failed checks\n"
_print_checks(failed_checks)