aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-03-25 23:45:49 -0500
committerJack Nagel2014-03-25 23:47:37 -0500
commit77b29f14fe069256f003185b4607d83b336370f0 (patch)
treec7a417263437c82d393202958659727f5ae054cf /Library
parent64652563773d255cc9c9a2e14e3e4e7ba25c22c8 (diff)
downloadhomebrew-77b29f14fe069256f003185b4607d83b336370f0.tar.bz2
Failing to install plist shouldn't prevent linking
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula_installer.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb
index 9e8cab3fb..edca4e94f 100644
--- a/Library/Homebrew/formula_installer.rb
+++ b/Library/Homebrew/formula_installer.rb
@@ -553,6 +553,9 @@ class FormulaInstaller
return unless f.plist
f.plist_path.atomic_write(f.plist)
f.plist_path.chmod 0644
+ rescue Exception => e
+ onoe "Failed to install plist file"
+ ohai e, e.backtrace if debug?
end
def fix_install_names