summaryrefslogtreecommitdiffstats
path: root/abs/core/dbus/30-dbus
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2014-04-16 16:36:31 (GMT)
committerBritney Fransen <brfransen@gmail.com>2014-04-16 16:36:31 (GMT)
commit041d38fb3be61ecc369a0ecea30b8f8861877b7e (patch)
tree50bb96bce843b1b82b50d1492c7885f13ead9782 /abs/core/dbus/30-dbus
parent73d4dccd52b2ed12e8be2158f0491676b4aced09 (diff)
downloadlinhes_pkgbuild-041d38fb3be61ecc369a0ecea30b8f8861877b7e.zip
linhes_pkgbuild-041d38fb3be61ecc369a0ecea30b8f8861877b7e.tar.gz
linhes_pkgbuild-041d38fb3be61ecc369a0ecea30b8f8861877b7e.tar.bz2
dbus: update to 1.8.0
Diffstat (limited to 'abs/core/dbus/30-dbus')
-rw-r--r--abs/core/dbus/30-dbus6
1 files changed, 2 insertions, 4 deletions
diff --git a/abs/core/dbus/30-dbus b/abs/core/dbus/30-dbus
index 69d2660..42b3a5f 100644
--- a/abs/core/dbus/30-dbus
+++ b/abs/core/dbus/30-dbus
@@ -1,8 +1,6 @@
#!/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`
+if [ -z "$DBUS_SESSION_BUS_ADDRESS" ] && type dbus-launch >/dev/null; then
+ eval $(dbus-launch --sh-syntax --exit-with-session)
fi