blob: 97698427131a8a261f4557f44aaed1c21d1da436 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001#!/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
8if [ -f /usr/bin/dbus-launch-x ]; then
9 exec /usr/bin/dbus-launch-x "$@"
10else
11 exec /usr/bin/dbus-launch.real "$@"
12fi