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
commite08ef940beaeb8251d7db0645bbc980535f481e5 (patch)
treeab954a756d37109eeed0abdfb62ebefe4654ee6b /Library/Homebrew
parent80ba991324162b4839329a7a9672e980a2975ae6 (diff)
downloadbrew-e08ef940beaeb8251d7db0645bbc980535f481e5.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