Merge pull request #11777 from SMillerDev/fix/service/pre_link_error

formula_installer: install service after linking
This commit is contained in:
Dawid Dziurla 2021-07-26 22:20:38 +02:00 committed by GitHub
commit 3e52e8b48a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -754,11 +754,11 @@ class FormulaInstaller
ohai "Finishing up" if verbose? ohai "Finishing up" if verbose?
install_service
keg = Keg.new(formula.prefix) keg = Keg.new(formula.prefix)
link(keg) link(keg)
install_service
fix_dynamic_linkage(keg) if !@poured_bottle || !formula.bottle_specification.skip_relocation? fix_dynamic_linkage(keg) if !@poured_bottle || !formula.bottle_specification.skip_relocation?
if build_bottle? if build_bottle?