diff options
| author | Max Howell | 2009-09-23 16:41:47 +0100 |
|---|---|---|
| committer | Max Howell | 2009-09-24 18:26:24 +0100 |
| commit | 034fc40ae122f0d99ea0793264ed74c986866327 (patch) | |
| tree | 25de936d275bba89ab781c509d82fd27df8e0747 /bin | |
| parent | a03d13088f7e5f6dfe1d4d6518d2399172d40a2f (diff) | |
| download | brew-034fc40ae122f0d99ea0793264ed74c986866327.tar.bz2 | |
Remove Fink and Macports from the PATH earlier
References issue Homebrew/homebrew#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 |
