From 37542773e3d44e20146b62c1cc07e7f97486d2d3 Mon Sep 17 00:00:00 2001 From: trbernstein Date: Sat, 18 Oct 2025 18:21:27 +0200 Subject: [PATCH] Run homebrew as _homebrew user --- modules/05-install-brew-apps.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/05-install-brew-apps.sh b/modules/05-install-brew-apps.sh index 67f61c5..9421aea 100755 --- a/modules/05-install-brew-apps.sh +++ b/modules/05-install-brew-apps.sh @@ -4,7 +4,7 @@ function brewInstall() { local identifier="$1" local cask="${2:+--cask}" - indicateActivity -- "Installing ${identifier}${cask:+ (Cask)}" ${homebrew_path} install -q ${cask} ${identifier} + HOME=/Users/Shared indicateActivity -- "Installing ${identifier}${cask:+ (Cask)}" sudo -u _homebrew ${homebrew_path} install -q ${cask} ${identifier} } function installCask() {