formula_installer: install service after linking

This commit is contained in:
Sean Molenaar 2021-07-26 21:13:53 +02:00
parent f76c52445e
commit 391b02f870
No known key found for this signature in database
GPG Key ID: 6BF5D8DF0D34FAAE

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?