Files
gentoo/sys-apps/dbus/files/dbus.sh
T
Anna (navi) Figueiredo Gomes ae6c976da6 sys-apps/dbus: fix syntax error in profile.d script
Signed-off-by: Anna (navi) Figueiredo Gomes <navi@vlhl.dev>
Signed-off-by: Sam James <sam@gentoo.org>
2025-02-28 13:27:04 +00:00

8 lines
318 B
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License, v2 or later
#
if [ -f /run/openrc/softlevel ] && [ -z "$DBUS_SESSION_BUS_ADDRESS" ] \
&& rc-service --user --exists dbus 2>&1 >/dev/null; then
export DBUS_SESSION_BUS_ADDRESS="unix:path=${XDG_RUNTIME_DIR}/bus"
fi