2014-07-18 09:03:55 +00:00
|
|
|
#!/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
|
2020-04-18 08:42:03 +00:00
|
|
|
exec /usr/bin/dbus-launch-x "$@"
|
2014-07-18 09:03:55 +00:00
|
|
|
else
|
2020-04-18 08:42:03 +00:00
|
|
|
exec /usr/bin/dbus-launch.real "$@"
|
2014-07-18 09:03:55 +00:00
|
|
|
fi
|