From e3a9e961bf3a31afdee71c1276a077396f0dfe6c Mon Sep 17 00:00:00 2001 From: Martin Kuehl Date: Tue, 16 Feb 2010 15:41:26 +0100 Subject: 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 Closes Homebrew/homebrew#743 --- Library/Homebrew/brew.h.rb | 2 -- 1 file changed, 2 deletions(-) (limited to 'Library') 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 -- cgit v1.2.3