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-07-11 15:08:09 (GMT)
committer Daniel Narvaez <dwnarvaez@gmail.com>2012-07-11 15:08:09 (GMT)
commit57aea80ea17a3b941e27d5405f6b4c0ce09931fd (patch)
treeb159686a1ce84bca78276613548bc5634bfb203a /scripts
parentbe845f4e32fe80b7ca662ab690c684f028353fb3 (diff)
Add dependency on espeak gst plugin
Unfortunately fedora only, ubuntu will still run fine
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/check-system10
1 files changed, 9 insertions, 1 deletions
diff --git a/scripts/check-system b/scripts/check-system
index 1fe8b23..659d81e 100755
--- a/scripts/check-system
+++ b/scripts/check-system
@@ -232,6 +232,10 @@ checks = \
"checker": "dbus",
"packages": { "fedora": "telepathy-salut",
"ubuntu": "telepathy-salut" } },
+ { "check": "espeak",
+ "checker": "gstreamer",
+ "packages": { "fedora": "gstreamer-plugins-espeak",
+ "ubuntu": None } },
# Activities runtime
@@ -334,7 +338,11 @@ def run_checks(distro, checks):
checker = checkers[check["checker"]]
if checker(check["check"]):
if distro in check["packages"]:
- packages.append(check["packages"][distro])
+ package = check["packages"][distro]
+
+ # Might be none, if so skip on this distro
+ if package:
+ packages.append(package)
else:
failed_checks.append(check)