Skip to content

Commit

Permalink
Merge pull request #11777 from SMillerDev/fix/service/pre_link_error
Browse files Browse the repository at this point in the history
formula_installer: install service after linking
  • Loading branch information
dawidd6 committed Jul 26, 2021
2 parents f76c524 + 391b02f commit 3e52e8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Library/Homebrew/formula_installer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -754,11 +754,11 @@ def finish

ohai "Finishing up" if verbose?

install_service

keg = Keg.new(formula.prefix)
link(keg)

install_service

fix_dynamic_linkage(keg) if !@poured_bottle || !formula.bottle_specification.skip_relocation?

if build_bottle?
Expand Down

0 comments on commit 3e52e8b

Please sign in to comment.