diff options
author | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-01-11 18:41:04 (GMT) |
---|---|---|
committer | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-01-11 18:41:04 (GMT) |
commit | bcf5ec3fa5da5bbac9a1eaba782bbcea0278d9b7 (patch) | |
tree | 1db739b5689e79de25ff05521ff1ef620478df50 /abs/core-testing/dbus/30-dbus | |
parent | 22cb9c31cde8a125c3b7d159d8b50941cb5c7714 (diff) | |
download | linhes_pkgbuild-bcf5ec3fa5da5bbac9a1eaba782bbcea0278d9b7.zip linhes_pkgbuild-bcf5ec3fa5da5bbac9a1eaba782bbcea0278d9b7.tar.gz linhes_pkgbuild-bcf5ec3fa5da5bbac9a1eaba782bbcea0278d9b7.tar.bz2 |
Updated various packages.
Diffstat (limited to 'abs/core-testing/dbus/30-dbus')
-rw-r--r-- | abs/core-testing/dbus/30-dbus | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/abs/core-testing/dbus/30-dbus b/abs/core-testing/dbus/30-dbus new file mode 100644 index 0000000..603e92d --- /dev/null +++ b/abs/core-testing/dbus/30-dbus @@ -0,0 +1,9 @@ +#!/bin/bash + +# launches a session dbus instance + +dbuslaunch="`which dbus-launch 2>/dev/null`" +if [ -n "$dbuslaunch" ] && [ -x "$dbuslaunch" ] && [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then + eval `$dbuslaunch --sh-syntax --exit-with-session` +fi + |