aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2013-06-30 11:16:53 -0700
committerAdam Vandenberg2013-06-30 11:16:53 -0700
commit48b3717e611c906c55f484b49ca6bafb49e9c5ba (patch)
treebbb88db51c42aa5dc52f22db2d4b95ce87a65437 /Library
parent8c7fedcf4f3ec0b9c8e3b5b68a9d24d61a863b07 (diff)
downloadhomebrew-48b3717e611c906c55f484b49ca6bafb49e9c5ba.tar.bz2
install plist before linking
If linking fails, won't try to re-install the plist. Closes #20843.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula_installer.rb3
1 files changed, 2 insertions, 1 deletions
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