brew.sh: drop reference to removed 'update-ruby'
This is a follow-up fix to a minor oversight in Homebrew/homebrew#49523.
This commit is contained in:
parent
eb6f970b90
commit
2ab4f74527
@ -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.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user