dbus-update-activation-environment
OBS-URL: https://build.opensuse.org/package/show/editors/emacs?expand=0&rev=337
This commit is contained in:
parent
e960862393
commit
7226557b8d
@ -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>
|
||||
|
||||
|
3
emacs.sh
3
emacs.sh
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user