Adam Vandenberg 9638c1820a External command: upgrade
Reinstalls out outdated brews.
See: http://github.com/mxcl/homebrew/issues/issue/1324
2010-06-16 09:52:27 -07:00

12 lines
308 B
Ruby
Executable File

# Updates all outdated brews
# See: http://github.com/mxcl/homebrew/issues/issue/1324
# patch ARGV to use all of the outdated packages as the names passed in
module HomebrewArgvExtension
def formulae
@formulae = outdated_brews.map {|_keg, name, _version| Formula.factory name}
end
end
brew_install