tap: don't error when already tapped.
This commit is contained in:
parent
0c20957f5b
commit
aab53e65a9
@ -14,7 +14,10 @@ module Homebrew
|
|||||||
else
|
else
|
||||||
user, repo = tap_args
|
user, repo = tap_args
|
||||||
tap = Tap.fetch(user, repo)
|
tap = Tap.fetch(user, repo)
|
||||||
tap.install(:clone_target => ARGV.named[1], :full_clone => ARGV.include?("--full"))
|
unless tap.installed?
|
||||||
|
tap.install(:clone_target => ARGV.named[1],
|
||||||
|
:full_clone => ARGV.include?("--full"))
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user