tap: ensure git is installed
Closes Homebrew/homebrew#43463. Signed-off-by: Xu Cheng <xucheng@me.com>
This commit is contained in:
parent
03f7e19ca6
commit
190902e98f
@ -19,6 +19,9 @@ module Homebrew
|
|||||||
end
|
end
|
||||||
|
|
||||||
def install_tap(user, repo, clone_target = nil)
|
def install_tap(user, repo, clone_target = nil)
|
||||||
|
# ensure git is installed
|
||||||
|
Utils.ensure_git_installed!
|
||||||
|
|
||||||
tap = Tap.new user, repo
|
tap = Tap.new user, repo
|
||||||
return false if tap.installed?
|
return false if tap.installed?
|
||||||
ohai "Tapping #{tap}"
|
ohai "Tapping #{tap}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user