info: remove unreachable code

This commit is contained in:
Jack Nagel 2013-06-09 15:32:08 -05:00
parent 1d265e5a0a
commit f1df7f208f

View File

@ -135,16 +135,6 @@ module Homebrew extend self
c = Caveats.new(f)
ohai 'Caveats', c.caveats unless c.empty?
rescue FormulaUnavailableError
# check for DIY installation
d = HOMEBREW_PREFIX+name
if d.directory?
ohai "DIY Installation"
d.children.each{ |keg| puts "#{keg} (#{keg.abv})" }
else
raise "No such formula or keg"
end
end
private