aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorMike McQuaid2016-02-12 13:25:37 +0000
committerMike McQuaid2016-02-15 08:54:03 +0000
commit775c4eedd7f6342ccfe7fe802a5935cb78ab050d (patch)
treed79b59ed969608b11d413288d03e21c32f306857 /bin
parentb389953f5b1b0ec98c069f155c280d60b94eeafb (diff)
downloadbrew-775c4eedd7f6342ccfe7fe802a5935cb78ab050d.tar.bz2
Promote update-bash to the default updater.
Also, rename the existing updater to `update-ruby` to allow using as a fallback. It will eventually be removed. Closes Homebrew/homebrew#49109. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/brew2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/brew b/bin/brew
index 320456c2e..732f7e03d 100755
--- a/bin/brew
+++ b/bin/brew
@@ -144,7 +144,7 @@ fi
if [[ "$(id -u)" = "0" && "$(/usr/bin/stat -f%u "$HOMEBREW_BREW_FILE")" != "0" ]]
then
case "$HOMEBREW_COMMAND" in
- instal|install|reinstall|postinstall|ln|link|pin|update|update-bash|upgrade|create|migrate|tap|switch)
+ instal|install|reinstall|postinstall|ln|link|pin|update|update-ruby|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.