Fix install names for keg-only brews too

Fixes Homebrew/homebrew#6065. Fixes Homebrew/homebrew#6218.
This commit is contained in:
Max Howell 2011-07-04 09:31:29 +01:00
parent 870f36769e
commit 7e1e8efdf4

View File

@ -194,16 +194,16 @@ def install f
ohai e, e.backtrace if ARGV.debug? ohai e, e.backtrace if ARGV.debug?
show_summary_heading = true show_summary_heading = true
end end
end
begin begin
keg.fix_install_names keg.fix_install_names
rescue Exception => e rescue Exception => e
onoe "Failed to fix install names" onoe "Failed to fix install names"
puts "The formula built, but you may encounter issues using it or linking other" puts "The formula built, but you may encounter issues using it or linking other"
puts "formula against it." puts "formula against it."
ohai e, e.backtrace if ARGV.debug? ohai e, e.backtrace if ARGV.debug?
show_summary_heading = true show_summary_heading = true
end
end end
ohai "Summary" if ARGV.verbose? or show_summary_heading ohai "Summary" if ARGV.verbose? or show_summary_heading