diff options
author | Daniel Narvaez <dwnarvaez@gmail.com> | 2012-11-13 12:44:02 (GMT) |
---|---|---|
committer | Daniel Narvaez <dwnarvaez@gmail.com> | 2012-11-13 12:44:02 (GMT) |
commit | b535604d1214c091a40246cad23bde26af23f3e4 (patch) | |
tree | fe8738f73b37515262c7288d2f1a22351aac93ce /scripts/check-system | |
parent | 18a2b540822f9f02b04cb128dc408384b06c56e6 (diff) |
Revert "Work around missing dependency of gst typelib package"
This reverts commit 18a2b540822f9f02b04cb128dc408384b06c56e6.
Diffstat (limited to 'scripts/check-system')
-rwxr-xr-x | scripts/check-system | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/scripts/check-system b/scripts/check-system index 9023ad9..bb76d93 100755 --- a/scripts/check-system +++ b/scripts/check-system @@ -100,14 +100,11 @@ def run_checks(distro, checks, packages): if checker(check["check"]): check_name = check.get("check_name", check["check"]) if distro in packages[check_name]: - package_list = packages[check_name][distro] - if not isinstance(package_list, list): - package_list = [package_list] - - for package in package_list: - # Might be none, if so skip on this distro - if package and package not in packages: - to_install.append(package) + package = packages[check_name][distro] + + # Might be none, if so skip on this distro + if package and package not in packages: + to_install.append(package) else: failed_checks.append(check) |