diagnostic: automatically tap homebrew/core.
Otherwise, this just dies with `Error: No available tap homebrew/core.`.
This commit is contained in:
parent
7617109d43
commit
631db5502d
@ -591,7 +591,11 @@ module Homebrew
|
|||||||
|
|
||||||
def check_coretap_integrity
|
def check_coretap_integrity
|
||||||
coretap = CoreTap.instance
|
coretap = CoreTap.instance
|
||||||
return if !coretap.installed? && EnvConfig.install_from_api?
|
unless coretap.installed?
|
||||||
|
return if EnvConfig.install_from_api?
|
||||||
|
|
||||||
|
CoreTap.ensure_installed!
|
||||||
|
end
|
||||||
|
|
||||||
broken_tap(coretap) || examine_git_origin(coretap.path, Homebrew::EnvConfig.core_git_remote)
|
broken_tap(coretap) || examine_git_origin(coretap.path, Homebrew::EnvConfig.core_git_remote)
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user