Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Narvaez <dwnarvaez@gmail.com>2012-11-11 13:49:32 (GMT)
committer Daniel Narvaez <dwnarvaez@gmail.com>2012-11-11 13:49:32 (GMT)
commit2b72fded65481e0ef9ab3b16c569d7bb4f05a3c4 (patch)
tree57e0ffd61e09606dd8516b9e8779161f341b7ded
parentb60887739dae40201f5f6eba7def1da53b1c2412 (diff)
Avoid duplicates in the list of packages to install
-rwxr-xr-xscripts/check-system2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/check-system b/scripts/check-system
index 8732e9d..65c1ed5 100755
--- a/scripts/check-system
+++ b/scripts/check-system
@@ -96,7 +96,7 @@ def run_checks(distro, checks, packages):
package = packages[check_name][distro]
# Might be none, if so skip on this distro
- if package:
+ if package and package not in packages:
to_install.append(package)
else:
failed_checks.append(check)