aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/cleanup.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/cleanup.rb b/Library/Homebrew/cmd/cleanup.rb
index 7c6505cc7..f1d4ba68b 100644
--- a/Library/Homebrew/cmd/cleanup.rb
+++ b/Library/Homebrew/cmd/cleanup.rb
@@ -8,6 +8,8 @@ module Homebrew extend self
begin
cleanup_formula rack.basename.to_s if rack.directory?
rescue FormulaUnavailableError => e
+ # Don't complain about Cellar folders that are from DIY installs
+ # instead of core formulae.
end
end
# seems like a good time to do some additional cleanup
@@ -34,7 +36,7 @@ module Homebrew extend self
elsif rack.children.length > 1
# If the cellar only has one version installed, don't complain
# that we can't tell which one to keep.
- opoo "Skipping #{name}: most recent version #{f.version} not installed"
+ opoo "Skipping #{f.name}: most recent version #{f.version} not installed"
end
end