cmd/install: check before tapping
Changes introduced in dfdc570abcd7c19a7b385c2fe8c6b26b12bca646 were causing installations using fully-qualified formula names to fail.
This commit is contained in:
parent
ac6b22fd69
commit
95bbd8ef02
@ -19,7 +19,7 @@ module Homebrew
|
|||||||
user = $1
|
user = $1
|
||||||
repo = $2.sub(/^homebrew-/, "")
|
repo = $2.sub(/^homebrew-/, "")
|
||||||
tap = Tap.fetch(user, repo)
|
tap = Tap.fetch(user, repo)
|
||||||
tap.install
|
tap.install unless tap.installed?
|
||||||
end
|
end
|
||||||
end unless ARGV.force?
|
end unless ARGV.force?
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user