aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMax Howell2011-06-16 17:38:39 +0100
committerMax Howell2011-06-17 09:30:25 +0100
commit1d606388b40e28defa86877b2b3976c2b2923c9b (patch)
treee33e1f09286555515b96d4ac1c029f741cba14e8 /Library
parent1587c703570e88c07e60c774531cf94ad31561d4 (diff)
downloadbrew-1d606388b40e28defa86877b2b3976c2b2923c9b.tar.bz2
Show summary headings when appropriate
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/Homebrew/install.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/Library/Homebrew/install.rb b/Library/Homebrew/install.rb
index ca4e6663b..b07d2371b 100755
--- a/Library/Homebrew/install.rb
+++ b/Library/Homebrew/install.rb
@@ -152,6 +152,7 @@ def install f
opoo 'A top-level "man" folder was found.'
puts "Homebrew requires that man pages live under share."
puts 'This can often be fixed by passing "--mandir=#{man}" to configure.'
+ show_summary_heading = true
end
# Check for info pages that aren't in share/info
@@ -159,6 +160,7 @@ def install f
opoo 'A top-level "info" folder was found.'
puts "Homebrew suggests that info pages live under share."
puts 'This can often be fixed by passing "--infodir=#{info}" to configure.'
+ show_summary_heading = true
end
# Check for Jars in lib
@@ -169,6 +171,7 @@ def install f
puts "For Java software, it is typically better for the formula to"
puts "install to \"libexec\" and then symlink or wrap binaries into \"bin\"."
puts "See \"activemq\", \"jruby\", etc. for examples."
+ show_summary_heading = true
end
end
@@ -178,6 +181,7 @@ def install f
puts "Homebrew does not append \"#{HOMEBREW_PREFIX}/share/aclocal\""
puts "to \"/usr/share/aclocal/dirlist\". If an autoconf script you use"
puts "requires these m4 macros, you'll need to add this path manually."
+ show_summary_heading = true
end
# link from Cellar to Prefix
@@ -187,11 +191,7 @@ def install f
onoe "The linking step did not complete successfully"
puts "The formula built, but is not symlinked into #{HOMEBREW_PREFIX}"
puts "You can try again using `brew link #{f.name}'"
- if ARGV.debug?
- ohai e, e.backtrace
- else
- onoe e
- end
+ ohai e, e.backtrace if ARGV.debug?
show_summary_heading = true
end