aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorTrevor Stevens2010-02-18 19:24:03 -0500
committerAdam Vandenberg2010-06-15 21:45:56 -0700
commitb9bb07864270866600bdd39473cdf4abb922d2ac (patch)
treea896e20f6a82f5d22aec2031696f8fdd2cdec6db /bin
parent6fd0a120f1d9bc1d0c0441ad9ce98bf1ffa98cd8 (diff)
downloadbrew-b9bb07864270866600bdd39473cdf4abb922d2ac.tar.bz2
Modify brew update to show if any formulae were removed.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/brew11
1 files changed, 11 insertions, 0 deletions
diff --git a/bin/brew b/bin/brew
index 1c1f2d29a..a9ae5a0ee 100755
--- a/bin/brew
+++ b/bin/brew
@@ -171,6 +171,17 @@ begin
puts "Already up-to-date."
else
puts "Updated Homebrew from #{old_revision[0,8]} to #{updater.current_revision[0,8]}."
+ ## New Formulae
+ if updater.pending_new_formulae?
+ ohai "The following formulae are new:"
+ puts_columns updater.added_formulae
+ end
+ ## Deleted Formulae
+ if updater.deleted_formulae?
+ ohai "The following formulae were removed:"
+ puts_columns updater.deleted_formulae
+ end
+ ## Updated Formulae
if updater.pending_formulae_changes?
ohai "The following formulae were updated:"
puts_columns updater.updated_formulae