From 123286af18d74b42aa99cb921a11d527fa7b9d58 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Fri, 2 May 2014 09:13:44 -0500 Subject: Tweak post-install text further Closes #28902. --- install | 8 +++++--- 1 file 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" -- cgit v1.2.3