From 5c4671fe3fbd86322dd0d33c203bf3245eb5ec83 Mon Sep 17 00:00:00 2001 From: Tw93 Date: Sat, 22 Nov 2025 08:43:30 +0800 Subject: [PATCH] Repair brew clean very deeply --- bin/clean.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/clean.sh b/bin/clean.sh index ffed92c..c0068ad 100755 --- a/bin/clean.sh +++ b/bin/clean.sh @@ -917,8 +917,8 @@ perform_cleanup() { brew_tmp_file=$(create_temp_file) # Run brew cleanup in background with manual timeout - # Deep clean with -s --prune=all (default 2 minutes, configurable via MO_BREW_TIMEOUT) - (brew cleanup -s --prune=all > "$brew_tmp_file" 2>&1) & + # Clean old versions with --prune=all (default 2 minutes, configurable via MO_BREW_TIMEOUT) + (brew cleanup --prune=all > "$brew_tmp_file" 2>&1) & local brew_pid=$! local elapsed=0