add packages_10.03.2 in preparation for the 10.03.2 interim release
[10.03/packages.git] / utils / dbus / files / dbus-launch
1 #!/bin/sh
2 #
3 # Simple wrapper script which allows us to build dbus without general x support
4 # If an application needs x support in dbus-launch it has to depend on the
5 # dbus-launch-x package. The script is used to prefer dbus-launch with x over
6 # the dbus-lauch without x.
7
8 if [ -f /usr/bin/dbus-launch-x ]; then
9         exec /usr/bin/dbus-launch-x $@
10 else
11         exec /usr/bin/dbus-launch.real $@
12 fi