missing should not error if Cellar does not exist

This commit is contained in:
Adam Vandenberg 2011-09-26 10:20:19 -07:00
parent e49dc46bf3
commit 1ff01a872e

View File

@ -11,6 +11,8 @@ def installed_brews
end end
def main def main
return unless HOMEBREW_CELLAR.exist?
# Names of outdated brews; they count as installed. # Names of outdated brews; they count as installed.
outdated = Homebrew.outdated_brews.collect{ |b| b.name } outdated = Homebrew.outdated_brews.collect{ |b| b.name }