1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-17 04:44:10 +02:00
openwrt-packages/utils/dbus/files/dbus-launch
Rosen Penev c73fd179e4
dbus: update to 1.13.12
Ran scripts through shellcheck.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-04-18 18:09:07 -07:00

13 lines
392 B
Bash

#!/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