install: tap if full tap formula format given.

Closes Homebrew/homebrew#23411.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Mike McQuaid 2013-10-21 04:25:24 +01:00
parent 077f09e4ea
commit c71492561f

View File

@ -16,6 +16,10 @@ module Homebrew extend self
msg = blacklisted? name msg = blacklisted? name
raise "No available formula for #{name}\n#{msg}" if msg raise "No available formula for #{name}\n#{msg}" if msg
end end
if name =~ HOMEBREW_TAP_REGEX then
require 'cmd/tap'
install_tap $1, $2
end
end unless ARGV.force? end unless ARGV.force?
perform_preinstall_checks perform_preinstall_checks