diff --git a/.chezmoiscripts/run_onchange_after_99-load-brewfile.sh.tmpl b/.chezmoiscripts/run_onchange_after_99-load-brewfile.sh.tmpl index b1ea506..b875e89 100644 --- a/.chezmoiscripts/run_onchange_after_99-load-brewfile.sh.tmpl +++ b/.chezmoiscripts/run_onchange_after_99-load-brewfile.sh.tmpl @@ -2,5 +2,10 @@ # brewfile hash: {{ include "dot_Brewfile" | sha256sum }} +{{- if not eq .chezmoi.username "runner" }} + brew bundle cleanup --force --file .Brewfile + +{{ end -}} + brew bundle install --force --file .Brewfile