diff options
| author | Eloy Duran | 2009-09-08 00:02:28 +0200 |
|---|---|---|
| committer | Eloy Duran | 2009-09-17 00:24:11 +0200 |
| commit | c1989b79ad12f54501a749f31fa869dfbac610cd (patch) | |
| tree | 8b458f9bb3d76378d48bc8328b4786e057868152 /bin | |
| parent | c71d4ad2bc0a5e29afb9e36d688405c8ce6cd81c (diff) | |
| download | brew-c1989b79ad12f54501a749f31fa869dfbac610cd.tar.bz2 | |
Update Homebrew and list the updated formulae.
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/brew | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -110,6 +110,17 @@ begin end + when 'up', 'update' + require 'refresh_brew' + updater = RefreshBrew.new + unless updater.update_from_masterbrew! + ohai "Already up-to-date." + else + ohai "Updated Homebrew to: #{updater.current_revision}" + ohai "No formulae were updated." unless updater.pending_formulae_changes? + ohai "The following formulae were updated: #{updater.updated_formulae.join(', ')}" + end + when 'ln', 'link' ARGV.kegs.each {|keg| puts "#{keg.link} links created for #{keg}"} |
