diff options
| author | Martin Kuehl | 2010-02-16 15:41:26 +0100 |
|---|---|---|
| committer | Max Howell | 2010-02-16 22:52:18 +0000 |
| commit | e3a9e961bf3a31afdee71c1276a077396f0dfe6c (patch) | |
| tree | c1d4e88ed50eea8fdf8b5f157740835e4469abf9 /Library | |
| parent | 2e3585872b0e5856cce6c53b178744bc10a91c0b (diff) | |
| download | brew-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.rb | 2 |
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 |
