diff options
| author | Max Howell | 2009-09-23 16:41:47 +0100 |
|---|---|---|
| committer | Max Howell | 2009-09-24 18:26:24 +0100 |
| commit | 0836244a2318a24253697e811a5e489b0ed22bb2 (patch) | |
| tree | 4438aefb162e9f6206d7dfbf7de0e23644f06e2f /bin | |
| parent | 419cf71e9ee0d9efc7d960aba31d350a9dc8c393 (diff) | |
| download | homebrew-0836244a2318a24253697e811a5e489b0ed22bb2.tar.bz2 | |
Remove Fink and Macports from the PATH earlier
References issue #48
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/brew | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -12,6 +12,12 @@ if %w[/ /usr].include? HOMEBREW_PREFIX.to_s then abort <<-EOS EOS end if `sw_vers -productVersion` =~ /10\.(\d)\.(\d+)/ and $1.to_i < 5 + +# remove MacPorts and Fink from the PATH, this prevents issues like: +# http://github.com/mxcl/homebrew/issues/#issue/13 +# http://github.com/mxcl/homebrew/issues/#issue/48 +fix_PATH + onoe "Homebrew requires Leopard or higher" abort "But thanks for your interest anyway!" end |
