Skip to content

Commit

Permalink
install: update 10.11 /usr/local instructions.
Browse files Browse the repository at this point in the history
These seem to not apply for everyone on 10.11.0 any more (as explained
in Homebrew/legacy-homebrew#45387).
  • Loading branch information
MikeMcQuaid committed Nov 1, 2015
1 parent d1b050c commit fa1d042
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions install
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,10 @@ Before running the installer again please agree to the license by opening
Xcode.app or running:
sudo xcodebuild -license
EOABORT
abort <<-EOABORT if !File.directory?(HOMEBREW_PREFIX) && macos_version >= "10.11"
OS X 10.11 & above require an additional step to write into #{HOMEBREW_PREFIX}.
sandbox_paths_file = "/System/Library/Sandbox/Compatibility.bundle/Contents/Resources/paths"
abort <<-EOABORT if !File.directory?(HOMEBREW_PREFIX) && macos_version >= "10.11" \
&& !(File.exist?(sandbox_paths_file) && IO.read(sandbox_paths_file).include?("/usr/local\n"))
Your OS X 10.11 install requires an additional step to write into #{HOMEBREW_PREFIX}.
Please follow the steps described here and then run the install script again:
https://git.io/vnC7w
EOABORT
Expand Down

0 comments on commit fa1d042

Please sign in to comment.