From 5437a480ebd34246db43a875c799f591d3cbf40d Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Sun, 30 Jun 2013 11:16:53 -0700 Subject: install plist before linking If linking fails, won't try to re-install the plist. Closes Homebrew/homebrew#20843. --- Library/Homebrew/formula_installer.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Library') diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb index a4f3a4067..b1860dbdc 100644 --- a/Library/Homebrew/formula_installer.rb +++ b/Library/Homebrew/formula_installer.rb @@ -246,6 +246,8 @@ class FormulaInstaller def finish ohai 'Finishing up' if ARGV.verbose? + install_plist + if f.keg_only? begin Keg.new(f.prefix).optlink @@ -258,7 +260,6 @@ class FormulaInstaller check_PATH unless f.keg_only? end - install_plist fix_install_names ohai "Summary" if ARGV.verbose? or show_summary_heading -- cgit v1.2.3