mirror of
https://github.com/tw93/Mole.git
synced 2026-02-12 18:05:13 +00:00
Repair brew clean very deeply
This commit is contained in:
@@ -917,8 +917,8 @@ perform_cleanup() {
|
|||||||
brew_tmp_file=$(create_temp_file)
|
brew_tmp_file=$(create_temp_file)
|
||||||
|
|
||||||
# Run brew cleanup in background with manual timeout
|
# Run brew cleanup in background with manual timeout
|
||||||
# Deep clean with -s --prune=all (default 2 minutes, configurable via MO_BREW_TIMEOUT)
|
# Clean old versions with --prune=all (default 2 minutes, configurable via MO_BREW_TIMEOUT)
|
||||||
(brew cleanup -s --prune=all > "$brew_tmp_file" 2>&1) &
|
(brew cleanup --prune=all > "$brew_tmp_file" 2>&1) &
|
||||||
local brew_pid=$!
|
local brew_pid=$!
|
||||||
local elapsed=0
|
local elapsed=0
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user