SHA256
1
0
forked from pool/emacs

Accepting request 1036458 from editors

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1036458
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/emacs?expand=0&rev=169
This commit is contained in:
Dominique Leuenberger 2022-11-18 14:43:07 +00:00 committed by Git OBS Bridge
commit d400586c17
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Nov 10 13:48:45 UTC 2022 - Dr. Werner Fink <werner@suse.de>
- dbus-update-activation-environment handles only variables with
their names
-------------------------------------------------------------------
Wed Nov 9 13:46:06 UTC 2022 - Dr. Werner Fink <werner@suse.de>

View File

@ -90,7 +90,8 @@ if test -n "$dbusdaemon" ; then
dbusupdate=$(type -p dbus-update-activation-environment 2>/dev/null)
dbusstatus=$(systemctl --user is-active dbus.service 2>/dev/null)
if test -n "$dbusupdate" -a "$dbusstatus" != active ; then
$dbusupdate --systemd DBUS_SESSION_BUS_ADDRESS="unix:path=${XDG_RUNTIME_DIR}/bus"
export DBUS_SESSION_BUS_ADDRESS="unix:path=${XDG_RUNTIME_DIR}/bus"
$dbusupdate --systemd "DBUS_SESSION_BUS_ADDRESS"
fi
fi
unset dbuslaunch dbusdaemon