diff options
| author | Max Howell | 2010-05-28 00:54:53 +0100 |
|---|---|---|
| committer | Max Howell | 2012-03-09 12:08:52 +0000 |
| commit | 97b5808cac7940f35eaaa5f9a66fcb5a6795e1d4 (patch) | |
| tree | 212e223b89774f84d9aeb84096b57c13800d66ec | |
| parent | 4c0545619d3aaa91f78e00a0d13e662a078a6543 (diff) | |
| download | brew-97b5808cac7940f35eaaa5f9a66fcb5a6795e1d4.tar.bz2 | |
Warn if Xcode is not installed.
| -rw-r--r-- | install_homebrew.rb | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/install_homebrew.rb b/install_homebrew.rb index 6edfb4067..6dcd4113e 100644 --- a/install_homebrew.rb +++ b/install_homebrew.rb @@ -131,11 +131,5 @@ end ohai "Installation successful!" -if ENV['PATH'].split(':').include? '/usr/local/bin' - puts "Yay! Now learn to brew:" - puts - puts " brew help" - puts -else - warn "/usr/local/bin is not in your PATH" -end +warn "/usr/local/bin is not in your PATH." unless ENV['PATH'].split(':').include? '/usr/local/bin' +warn "Now install Xcode." unless system "/usr/bin/which gcc" |
