formula_installer: fix gh bootstrap cycle
Signed-off-by: William Woodruff <william@yossarian.net>
This commit is contained in:
parent
9b615ba39b
commit
0656a30f18
@ -1256,7 +1256,9 @@ on_request: installed_on_request?, options:)
|
|||||||
|
|
||||||
sig { void }
|
sig { void }
|
||||||
def pour
|
def pour
|
||||||
if Homebrew::EnvConfig.verify_attestations? && formula.tap&.core_tap?
|
# We skip `gh` to avoid a bootstrapping cycle, in the off-chance a user attempts
|
||||||
|
# to explicitly `brew install gh` without already having a version for bootstrapping.
|
||||||
|
if Homebrew::EnvConfig.verify_attestations? && formula.tap&.core_tap? && formula.name != "gh"
|
||||||
ohai "Verifying attestation for #{formula.name}"
|
ohai "Verifying attestation for #{formula.name}"
|
||||||
begin
|
begin
|
||||||
Homebrew::Attestation.check_core_attestation formula.bottle
|
Homebrew::Attestation.check_core_attestation formula.bottle
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user