Fix formula installs without a tab
This commit is contained in:
parent
2dfc1b4eb8
commit
4d43063060
@ -1591,7 +1591,7 @@ on_request: installed_on_request?, options:)
|
|||||||
|
|
||||||
keg = Keg.new(formula.prefix)
|
keg = Keg.new(formula.prefix)
|
||||||
skip_linkage = formula.bottle_specification.skip_relocation?
|
skip_linkage = formula.bottle_specification.skip_relocation?
|
||||||
keg.replace_placeholders_with_locations(tab.changed_files, skip_linkage:) if tab.changed_files
|
keg.replace_placeholders_with_locations(tab.changed_files, skip_linkage:)
|
||||||
|
|
||||||
cellar = formula.bottle_specification.tag_to_cellar(Utils::Bottles.tag)
|
cellar = formula.bottle_specification.tag_to_cellar(Utils::Bottles.tag)
|
||||||
return if [:any, :any_skip_relocation].include?(cellar)
|
return if [:any, :any_skip_relocation].include?(cellar)
|
||||||
|
|||||||
@ -167,7 +167,7 @@ class Keg
|
|||||||
relocation
|
relocation
|
||||||
end
|
end
|
||||||
|
|
||||||
sig { params(files: T::Array[Pathname], skip_linkage: T::Boolean).void }
|
sig { params(files: T.nilable(T::Array[Pathname]), skip_linkage: T::Boolean).void }
|
||||||
def replace_placeholders_with_locations(files, skip_linkage: false)
|
def replace_placeholders_with_locations(files, skip_linkage: false)
|
||||||
relocation = prepare_relocation_to_locations.freeze
|
relocation = prepare_relocation_to_locations.freeze
|
||||||
relocate_dynamic_linkage(relocation) unless skip_linkage
|
relocate_dynamic_linkage(relocation) unless skip_linkage
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user