diff options
| author | Jack Nagel | 2014-05-02 09:13:44 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-05-02 09:13:44 -0500 |
| commit | 123286af18d74b42aa99cb921a11d527fa7b9d58 (patch) | |
| tree | df1d68a8d512b49d2a687ae6aabf70639185f7bd | |
| parent | ddc97b7546eca1abf3d59d5e5061393fc5cd38d7 (diff) | |
| download | homebrew-123286af18d74b42aa99cb921a11d527fa7b9d58.tar.bz2 | |
Tweak post-install text further
Closes #28902.
| -rwxr-xr-x | install | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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" |
