install: silently ignore already tapped taps.

This commit is contained in:
Mike McQuaid 2013-10-21 20:16:57 +01:00
parent 1cb7eca3a5
commit b7000aec37

View File

@ -18,7 +18,10 @@ module Homebrew extend self
end end
if not File.exist? name and name =~ HOMEBREW_TAP_REGEX then if not File.exist? name and name =~ HOMEBREW_TAP_REGEX then
require 'cmd/tap' require 'cmd/tap'
begin
install_tap $1, $2 install_tap $1, $2
rescue AlreadyTappedError => e
end
end end
end unless ARGV.force? end unless ARGV.force?