add new force option to brew bundle install

This commit is contained in:
2026-06-06 00:49:04 +02:00
parent 4b58fd8679
commit 4621ddf515
+1 -1
View File
@@ -4,6 +4,6 @@ set -euf -o pipefail
/opt/homebrew/bin/brew update
/opt/homebrew/bin/brew upgrade
/opt/homebrew/bin/brew bundle install --file="$1" --cleanup --zap
/opt/homebrew/bin/brew bundle install --file="$1" --cleanup --zap --force-cleanup
/opt/homebrew/bin/brew autoremove
[[ "${2:-}" == "--prune" ]] && /opt/homebrew/bin/brew cleanup --prune=all