diff options
author | Daniel Narvaez <dwnarvaez@gmail.com> | 2012-06-30 08:44:48 (GMT) |
---|---|---|
committer | Daniel Narvaez <dwnarvaez@gmail.com> | 2012-06-30 08:44:48 (GMT) |
commit | cf5b17805fe285271863cafe1722a5e76911950c (patch) | |
tree | eaa785cc2e050140aa3868a4c0ce4ae22d04fad9 /scripts | |
parent | 20013d8dffacca20d6cc87060f6d32aadca18601 (diff) |
Add telepathy mission control dependency
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/check-system | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/scripts/check-system b/scripts/check-system index bb4ec85..471e553 100755 --- a/scripts/check-system +++ b/scripts/check-system @@ -40,10 +40,14 @@ def check_gtkmodule(check): return missing +def check_dbus(check): + return not os.path.exists("/usr/share/dbus-1/services/%s.service" % check) + checkers = { "binary": check_binary, "python": check_python, "pkgconfig": check_pkgconfig, - "gtkmodule": check_gtkmodule } + "gtkmodule": check_gtkmodule, + "dbus": check_dbus } pre_checks = \ [{ "check": "Xvfb", @@ -143,6 +147,10 @@ checks = \ # Sugar runtime + { "check": "org.freedesktop.Telepathy.AccountManager", + "checker": "dbus", + "packages": { "fedora": "telepathy-mission-control", + "ubuntu": "telepathy-mission-control-5" } }, { "check": "dconf", "checker": "binary", "packages": { "fedora": "dconf", |