aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Nagel2014-05-02 09:13:44 -0500
committerJack Nagel2014-05-02 09:13:44 -0500
commit123286af18d74b42aa99cb921a11d527fa7b9d58 (patch)
treedf1d68a8d512b49d2a687ae6aabf70639185f7bd
parentddc97b7546eca1abf3d59d5e5061393fc5cd38d7 (diff)
downloadhomebrew-123286af18d74b42aa99cb921a11d527fa7b9d58.tar.bz2
Tweak post-install text further
Closes #28902.
-rwxr-xr-xinstall8
1 files changed, 5 insertions, 3 deletions
diff --git a/install b/install
index b88b858f0..b5377f231 100755
--- a/install
+++ b/install
@@ -189,14 +189,16 @@ end
warn "#{HOMEBREW_PREFIX}/bin is not in your PATH." unless ENV['PATH'].split(':').include? "#{HOMEBREW_PREFIX}/bin"
+ohai "Installation successful!"
+ohai "Next steps"
+
if macos_version < "10.9" and macos_version > "10.6"
`/usr/bin/cc --version 2> /dev/null` =~ %r[clang-(\d{2,})]
version = $1.to_i
- warn %{Install the "Command Line Tools for Xcode": https://developer.apple.com/downloads/} if version < 425
+ puts "Install the #{Tty.white}Command Line Tools for Xcode#{Tty.reset}: https://developer.apple.com/downloads" if version < 425
else
- warn "Now install Xcode: https://developer.apple.com/xcode/" unless File.exist? "/usr/bin/cc"
+ puts "Install #{Tty.white}Xcode#{Tty.reset}: https://developer.apple.com/xcode" unless File.exist? "/usr/bin/cc"
end
-ohai "Installation successful!"
puts "Run `brew doctor` #{Tty.white}before#{Tty.reset} you install anything"
puts "Run `brew help` to get started"