diff --git a/Library/Homebrew/brew.sh b/Library/Homebrew/brew.sh index 55d75511cc..923dd4fd85 100644 --- a/Library/Homebrew/brew.sh +++ b/Library/Homebrew/brew.sh @@ -277,6 +277,18 @@ EOS } check-run-command-as-root +if [[ "$HOMEBREW_PREFIX" = "/usr/local" && + "$HOMEBREW_CELLAR" = "$HOMEBREW_REPOSITORY/Cellar" ]] +then + cat >&2 <