install: silently ignore already tapped taps.
This commit is contained in:
parent
1cb7eca3a5
commit
b7000aec37
@ -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?
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user