aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2013-01-06 17:04:08 -0800
committerAdam Vandenberg2013-01-06 17:06:38 -0800
commit30114c4c707812889d5a8bfc95bff706aa834c64 (patch)
tree0b68e6099bae7384636f38d5166ac74ae1879986 /Library
parent6672ef5f9f4c89353ec5ae8031bb826dcf486b36 (diff)
downloadbrew-30114c4c707812889d5a8bfc95bff706aa834c64.tar.bz2
brew update: warn about adamv/homebrew-alt
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/update.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/update.rb b/Library/Homebrew/cmd/update.rb
index 8b2d2e3d4..91517a672 100644
--- a/Library/Homebrew/cmd/update.rb
+++ b/Library/Homebrew/cmd/update.rb
@@ -3,6 +3,8 @@ require 'cmd/untap'
module Homebrew extend self
+ DEPRECATED_TAPS = ['adamv-alt']
+
def update
abort "Please `brew install git' first." unless which "git"
@@ -21,6 +23,12 @@ module Homebrew extend self
Dir["Library/Taps/*"].each do |tapd|
next unless File.directory?(tapd)
+ basename = Pathname.new(tapd).basename.to_s
+ if DEPRECATED_TAPS.include?(basename)
+ opoo "#{basename} is deprecated; please untap it"
+ next
+ end
+
cd tapd do
begin
updater = Updater.new