dbus: adopt here

Signed-off-by: Steven Barth <steven@midlink.org>
This commit is contained in:
Steven Barth
2014-07-18 11:03:55 +02:00
parent a689d930f1
commit 14003935f1
3 changed files with 217 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
#!/bin/sh
#
# Simple wrapper script which allows us to build dbus without general x support
# If an application needs x support in dbus-launch it has to depend on the
# dbus-launch-x package. The script is used to prefer dbus-launch with x over
# the dbus-lauch without x.
if [ -f /usr/bin/dbus-launch-x ]; then
exec /usr/bin/dbus-launch-x $@
else
exec /usr/bin/dbus-launch.real $@
fi