From 7226557b8dd40a1cc2a24067af4ff2f8369cee6b0fc9cccc3d69cae222caf0b4 Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Thu, 10 Nov 2022 13:50:00 +0000 Subject: [PATCH] dbus-update-activation-environment OBS-URL: https://build.opensuse.org/package/show/editors/emacs?expand=0&rev=337 --- emacs.changes | 6 ++++++ emacs.sh | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/emacs.changes b/emacs.changes index d22e56f..2832dbb 100644 --- a/emacs.changes +++ b/emacs.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Nov 10 13:48:45 UTC 2022 - Dr. Werner Fink + +- dbus-update-activation-environment handles only variables with + their names + ------------------------------------------------------------------- Wed Nov 9 13:46:06 UTC 2022 - Dr. Werner Fink diff --git a/emacs.sh b/emacs.sh index 470eef4..75d2bd6 100644 --- a/emacs.sh +++ b/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