b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 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 |