diff options
| author | Xu Cheng | 2016-05-01 22:04:46 +0800 |
|---|---|---|
| committer | Xu Cheng | 2016-05-01 22:04:46 +0800 |
| commit | 98aff27317eaf50c869341e04562062ecd09bd85 (patch) | |
| tree | 94cbc46aa759141d4684d9c850468e1db507794f /Library/brew.sh | |
| parent | 90d3317d7dc9d809d7fc8da15e824161a0ce3008 (diff) | |
| download | brew-98aff27317eaf50c869341e04562062ecd09bd85.tar.bz2 | |
add `brew analytics` command (#173)
Diffstat (limited to 'Library/brew.sh')
| -rw-r--r-- | Library/brew.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/brew.sh b/Library/brew.sh index 54f713dd9..33f446503 100644 --- a/Library/brew.sh +++ b/Library/brew.sh @@ -190,7 +190,7 @@ fi if [[ "$(id -u)" = "0" && "$(/usr/bin/stat -f%u "$HOMEBREW_BREW_FILE")" != "0" ]] then case "$HOMEBREW_COMMAND" in - install|reinstall|postinstall|link|pin|update|upgrade|create|migrate|tap|tap-pin|switch) + analytics|install|reinstall|postinstall|link|pin|update|upgrade|create|migrate|tap|tap-pin|switch) odie <<EOS Cowardly refusing to 'sudo brew $HOMEBREW_COMMAND' You can use brew with sudo, but only if the brew executable is owned by root. |
