From bd3691f45d8ba3420f88bf6f5d00ffe4863146e8 Mon Sep 17 00:00:00 2001 From: harryob <55142896+harryob@users.noreply.github.com> Date: Mon, 26 Feb 2024 00:34:22 +0000 Subject: [PATCH] tidies it all up --- .../run_onchange_after_99-load-brewfile.sh.tmpl | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/.chezmoiscripts/run_onchange_after_99-load-brewfile.sh.tmpl b/.chezmoiscripts/run_onchange_after_99-load-brewfile.sh.tmpl index dc81b1e..b1ea506 100644 --- a/.chezmoiscripts/run_onchange_after_99-load-brewfile.sh.tmpl +++ b/.chezmoiscripts/run_onchange_after_99-load-brewfile.sh.tmpl @@ -2,16 +2,5 @@ # brewfile hash: {{ include "dot_Brewfile" | sha256sum }} -EXTRA_ARGS="--global" - -{{- if eq .chezmoi.username "runner" }} - -EXTRA_ARGS="--file ./output/.Brewfile" - -{{ end -}} - -echo $PWD -ls -la - -brew bundle cleanup --force ${EXTRA_ARGS} -brew bundle install --force ${EXTRA_ARGS} +brew bundle cleanup --force --file .Brewfile +brew bundle install --force --file .Brewfile