aboutsummaryrefslogtreecommitdiffstats
path: root/Library/brew.sh
diff options
context:
space:
mode:
authorMartin Afanasjew2016-02-26 14:33:40 +0100
committerMartin Afanasjew2016-02-26 14:33:40 +0100
commit2ab4f7452702dd89c6e6457b7dc2cccb5da65263 (patch)
treee6e93bd2877c39c4debdab8b998de76136ffc40f /Library/brew.sh
parenteb6f970b907383b0f1787e2a9c6f5f74fd6f7464 (diff)
downloadbrew-2ab4f7452702dd89c6e6457b7dc2cccb5da65263.tar.bz2
brew.sh: drop reference to removed 'update-ruby'
This is a follow-up fix to a minor oversight in Homebrew/homebrew#49523.
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 944991e11..0fde584e1 100644
--- a/Library/brew.sh
+++ b/Library/brew.sh
@@ -146,7 +146,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|update-ruby|upgrade|create|migrate|tap|switch)
+ install|reinstall|postinstall|link|pin|update|upgrade|create|migrate|tap|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.