External command: upgrade

Reinstalls out outdated brews.
See: http://github.com/mxcl/homebrew/issues/issue/1324
This commit is contained in:
Adam Vandenberg 2010-06-08 11:24:07 -07:00
parent 69b9901131
commit 9638c1820a

View File

@ -0,0 +1,11 @@
# 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