Closed shenmishajing closed 1 year ago
brew autoupdate start 86400 --cleanup do not cleanup files even set HOMEBREW_CLEANUP_MAX_AGE_DAYS to 0.
export HOMEBREW_CLEANUP_MAX_AGE_DAYS=0
brew cleanup -n
brew autoupdate start 86400 --cleanup --immediate
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Bug
brew autoupdate start 86400 --cleanup do not cleanup files even set HOMEBREW_CLEANUP_MAX_AGE_DAYS to 0.
How to reproduce
export HOMEBREW_CLEANUP_MAX_AGE_DAYS=0
to set HOMEBREW_CLEANUP_MAX_AGE_DAYS to 0 in terminalbrew cleanup -n
to check itbrew autoupdate start 86400 --cleanup --immediate
to start autoupdatebrew cleanup -n
again and find that autoupdate do not cleanup files