aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMartin Kuehl2010-02-16 15:41:26 +0100
committerMax Howell2010-02-16 22:52:18 +0000
commite3a9e961bf3a31afdee71c1276a077396f0dfe6c (patch)
treec1d4e88ed50eea8fdf8b5f157740835e4469abf9 /Library
parent2e3585872b0e5856cce6c53b178744bc10a91c0b (diff)
downloadbrew-e3a9e961bf3a31afdee71c1276a077396f0dfe6c.tar.bz2
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
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/brew.h.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/Library/Homebrew/brew.h.rb b/Library/Homebrew/brew.h.rb
index 359909095..6a284b292 100644
--- a/Library/Homebrew/brew.h.rb
+++ b/Library/Homebrew/brew.h.rb
@@ -262,8 +262,6 @@ def cleanup name
puts
end
end
-
- prune # seems like a good time to do some additional cleanup
end
def clean f