aboutsummaryrefslogtreecommitdiff
path: root/utils/dbus/files/dbus-launch
blob: 97698427131a8a261f4557f44aaed1c21d1da436 (plain)
1
2
3
4
5
6
7
8
9
10
11
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