diff options
author | Daniel Narvaez <dwnarvaez@gmail.com> | 2012-11-11 13:49:32 (GMT) |
---|---|---|
committer | Daniel Narvaez <dwnarvaez@gmail.com> | 2012-11-11 13:49:32 (GMT) |
commit | 2b72fded65481e0ef9ab3b16c569d7bb4f05a3c4 (patch) | |
tree | 57e0ffd61e09606dd8516b9e8779161f341b7ded | |
parent | b60887739dae40201f5f6eba7def1da53b1c2412 (diff) |
Avoid duplicates in the list of packages to install
-rwxr-xr-x | scripts/check-system | 2 |
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) |