cleanup caches and orphans

This commit is contained in:
2026-02-25 11:28:17 +01:00
parent cb18ad2ffc
commit 3dc607ef0a
+3 -1
View File
@@ -3,5 +3,7 @@
set -euf -o pipefail
/opt/homebrew/bin/brew update
/opt/homebrew/bin/brew bundle install --file="$1" --cleanup --zap
/opt/homebrew/bin/brew upgrade
/opt/homebrew/bin/brew bundle install --file="$1" --cleanup --zap
/opt/homebrew/bin/brew autoremove
[[ "$2" == "--prune" ]] && /opt/homebrew/bin/brew cleanup --prune=all