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
commit73264f4396c7c4675fec6226531bd5c9ac606f8f (patch)
treed1f17dba21f096fe255d68678287e5079428bc2a /Library
parent2a98f7c084783fc5e3737652ccabf2a49548fce6 (diff)
downloadhomebrew-73264f4396c7c4675fec6226531bd5c9ac606f8f.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 #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