tap: don't error when already tapped.

This commit is contained in:
Mike McQuaid 2015-11-10 09:12:25 +00:00
parent 0c20957f5b
commit aab53e65a9

View File

@ -14,7 +14,10 @@ module Homebrew
else
user, repo = tap_args
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