aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xLibrary/brew.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/brew.rb b/Library/brew.rb
index e0e9673a9..f718f9c0d 100755
--- a/Library/brew.rb
+++ b/Library/brew.rb
@@ -97,7 +97,7 @@ begin
cmd = HOMEBREW_INTERNAL_COMMAND_ALIASES.fetch(cmd, cmd)
- sudo_check = %w[ install link pin unpin upgrade ]
+ sudo_check = %w[ install reinstall postinstall link pin unpin upgrade ]
if sudo_check.include? cmd
if Process.uid.zero? && !File.stat(HOMEBREW_BREW_FILE).uid.zero?
@@ -106,7 +106,7 @@ begin
You can use brew with sudo, but only if the brew executable is owned by root.
However, this is both not recommended and completely unsupported so do so at
your own risk.
- EOS
+ EOS
end
end