aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorAdam Vandenberg2011-04-18 21:11:08 -0700
committerAdam Vandenberg2011-04-18 21:11:08 -0700
commitf4d21415debe6e707b89a55b573b2b2fe5aef35d (patch)
treeb60bee717c53e1daefe271fe0451543b8f593004 /Library/Homebrew
parent0dd360a125986a87bfe858a9f677cda4045d2bcd (diff)
downloadhomebrew-f4d21415debe6e707b89a55b573b2b2fe5aef35d.tar.bz2
Add --force to brew cleanup
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/cmd/cleanup.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/cleanup.rb b/Library/Homebrew/cmd/cleanup.rb
index c01f4b18f..6254983b9 100644
--- a/Library/Homebrew/cmd/cleanup.rb
+++ b/Library/Homebrew/cmd/cleanup.rb
@@ -28,7 +28,7 @@ module Homebrew extend self
# Don't clean up keg-only brews for now.
# Formulae link directly to them, so cleaning up old
# ones will break already compiled software.
- if f.keg_only?
+ if f.keg_only? and not ARGV.force?
opoo "Skipping keg-only #{f.name}" if rack.children.length > 1
return
end