Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Narvaez <dwnarvaez@gmail.com>2012-11-13 12:37:08 (GMT)
committer Daniel Narvaez <dwnarvaez@gmail.com>2012-11-13 12:41:40 (GMT)
commit18a2b540822f9f02b04cb128dc408384b06c56e6 (patch)
tree78dcb43f55c7b261e8720f03fcb40937582b0e8f /scripts
parent898271e2ab8dd4e3b6a13550e44d40cb73bd13f8 (diff)
Work around missing dependency of gst typelib package
https://bugs.launchpad.net/ubuntu/+source/gstreamer1.0/+bug/1078267
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/check-system13
-rw-r--r--scripts/deps/packages-3.4.json3
2 files changed, 10 insertions, 6 deletions
diff --git a/scripts/check-system b/scripts/check-system
index bb76d93..9023ad9 100755
--- a/scripts/check-system
+++ b/scripts/check-system
@@ -100,11 +100,14 @@ 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 = packages[check_name][distro]
-
- # Might be none, if so skip on this distro
- if package and package not in packages:
- to_install.append(package)
+ 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)
else:
failed_checks.append(check)
diff --git a/scripts/deps/packages-3.4.json b/scripts/deps/packages-3.4.json
index 253b1f0..f99c5a5 100644
--- a/scripts/deps/packages-3.4.json
+++ b/scripts/deps/packages-3.4.json
@@ -132,7 +132,8 @@
"ubuntu": "gir1.2-gconf-2.0" },
"gst typelib":
{ "fedora": "gstreamer",
- "ubuntu": "gir1.2-gstreamer-1.0" },
+ "ubuntu": ["gir1.2-gstreamer-1.0",
+ "libgstreamer-1.0-0"] },
"wnck typelib":
{ "fedora": "libwnck3",
"ubuntu": "gir1.2-wnck-3.0" },