aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/update.rb
diff options
context:
space:
mode:
authorPeter Aronoff2013-03-15 09:50:38 -0400
committerJack Nagel2013-03-16 16:27:46 -0500
commitc9563cce957c69ae3bfc150ff0ca83bc60fc3e03 (patch)
tree822b9b09c44939e00dfab44a0e33a0faf4768c39 /Library/Homebrew/cmd/update.rb
parente4630164284de3ea5347b2338000795773756d86 (diff)
downloadbrew-c9563cce957c69ae3bfc150ff0ca83bc60fc3e03.tar.bz2
Fix `brew update` so that it doesn't show doubles
Under certain conditions, `brew update` will show doubles. It's a rare edge-case, but if you have a tap where the name of the formula is identical with the name of the insalled file, then you see output like this: ==> Updated Formulae aalib ssh-copy-id casperjs sshuttle jack telemachus/anytap/brew-any-tap mogenerator telemachus/anytap/brew-any-tap I believe this should fix that. Closes Homebrew/homebrew#18495. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Homebrew/cmd/update.rb')
-rw-r--r--Library/Homebrew/cmd/update.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/update.rb b/Library/Homebrew/cmd/update.rb
index 838351e68..95125d33c 100644
--- a/Library/Homebrew/cmd/update.rb
+++ b/Library/Homebrew/cmd/update.rb
@@ -182,7 +182,7 @@ class Report < Hash
formula = select_formula(key)
unless formula.empty?
ohai title
- puts_columns formula
+ puts_columns formula.uniq
end
end