brew-missing - don't count outdated as missing

This commit is contained in:
Adam Vandenberg 2010-10-01 07:12:21 -07:00
parent 8b8bf79315
commit f708b0b81f

View File

@ -3,7 +3,7 @@ require 'formula_installer'
def main def main
# Names of outdated brews; they count as installed. # Names of outdated brews; they count as installed.
outdated = outdated_brews.select {|b| b[1]} outdated = outdated_brews.collect {|b| b[1]}
HOMEBREW_CELLAR.subdirs.each do |keg| HOMEBREW_CELLAR.subdirs.each do |keg|
next unless keg.subdirs next unless keg.subdirs