Skip to content

Commit

Permalink
Merge pull request #27 from Homebrew/sip-local-tweaks
Browse files Browse the repository at this point in the history
install: update 10.11 /usr/local instructions.
  • Loading branch information
MikeMcQuaid committed Nov 2, 2015
2 parents d1b050c + fa1d042 commit 09a5b19
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 09a5b19

Please sign in to comment.