mirror of
https://github.com/tw93/Mole.git
synced 2026-02-04 16:49:41 +00:00
Repair brew clean very deeply
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user