aboutsummaryrefslogtreecommitdiffstats
path: root/Library/brew.sh
diff options
context:
space:
mode:
authorXu Cheng2016-05-01 22:04:46 +0800
committerXu Cheng2016-05-01 22:04:46 +0800
commit98aff27317eaf50c869341e04562062ecd09bd85 (patch)
tree94cbc46aa759141d4684d9c850468e1db507794f /Library/brew.sh
parent90d3317d7dc9d809d7fc8da15e824161a0ce3008 (diff)
downloadbrew-98aff27317eaf50c869341e04562062ecd09bd85.tar.bz2
add `brew analytics` command (#173)
Diffstat (limited to 'Library/brew.sh')
-rw-r--r--Library/brew.sh2
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.