Silence cleanup warning

When a cellar exists for an unknown formula, no longer print a warning.
External tools using Brew to manage diy-installs will create a large
number of non-formula cellars.
This commit is contained in:
Adam Vandenberg 2011-03-10 09:25:58 -08:00
parent 14d14fa69a
commit f0b6f6853a

View File

@ -8,7 +8,6 @@ module Homebrew extend self
begin begin
cleanup_formula rack.basename.to_s if rack.directory? cleanup_formula rack.basename.to_s if rack.directory?
rescue FormulaUnavailableError => e rescue FormulaUnavailableError => e
opoo "Formula not found for #{e.name}"
end end
end end
# seems like a good time to do some additional cleanup # seems like a good time to do some additional cleanup