Fix brew cleanup: less pruning
Running `brew cleanup` (with no arguments or multiple arguments) will run `brew prune` after _every_ cleaned formula, i.e. possibly after every installed formula. With this change it will instead only run `prune` after all formulae are cleaned, and only when no arguments were given to `cleanup`. Signed-off-by: Max Howell <max@methylblue.com> Closes Homebrew/homebrew#743
This commit is contained in:
parent
2e3585872b
commit
e3a9e961bf
@ -262,8 +262,6 @@ def cleanup name
|
|||||||
puts
|
puts
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
prune # seems like a good time to do some additional cleanup
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def clean f
|
def clean f
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user