doctor: don't check keg-onlies if cellar doesn't exist

This commit is contained in:
Jack Nagel 2012-12-08 16:41:31 -06:00
parent aa7864c5ca
commit 3589465297

View File

@ -751,6 +751,8 @@ end
def check_for_linked_keg_only_brews
require 'formula'
return unless HOMEBREW_CELLAR.exist?
warnings = Hash.new
Formula.each do |f|