From e3a67d2220dc6a04ad89ccb69e212ffa15cfd735 Mon Sep 17 00:00:00 2001 From: Martijn Pieters Date: Thu, 11 Aug 2022 21:00:38 +0100 Subject: [PATCH] brew: add XDG_RUNTIME_DIR copy Further support for brew services; `systemctl --user` falls back to XDG_RUNTIME_DIR if no DBUS daemon is available. --- bin/brew | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/brew b/bin/brew index 30e1fec5f2..bdbaac8ae9 100755 --- a/bin/brew +++ b/bin/brew @@ -75,7 +75,7 @@ HOMEBREW_LIBRARY="${HOMEBREW_REPOSITORY}/Library" # Copy and export all HOMEBREW_* variables previously mentioned in # manpage or used elsewhere by Homebrew. -for VAR in BAT_THEME BROWSER DISPLAY EDITOR NO_COLOR TMUX DBUS_SESSION_BUS_ADDRESS +for VAR in BAT_THEME BROWSER DISPLAY EDITOR NO_COLOR TMUX DBUS_SESSION_BUS_ADDRESS XDG_RUNTIME_DIR do # Skip if variable value is empty. [[ -z "${!VAR}" ]] && continue