aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/exceptions.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2013-06-08 18:17:28 -0700
committerAdam Vandenberg2013-06-08 20:44:56 -0700
commit4b014a4ed10ede1fded752970db1531f21d314ab (patch)
tree31cf8ecd3e1bba5b0622385b314d0e906f3853df /Library/Homebrew/exceptions.rb
parentf65ae1fdf64c7dbd81258fa731f29416ebbb4078 (diff)
downloadhomebrew-4b014a4ed10ede1fded752970db1531f21d314ab.tar.bz2
Consolidate sudo checks.
Closes #20318.
Diffstat (limited to 'Library/Homebrew/exceptions.rb')
-rw-r--r--Library/Homebrew/exceptions.rb8
1 files changed, 0 insertions, 8 deletions
diff --git a/Library/Homebrew/exceptions.rb b/Library/Homebrew/exceptions.rb
index c91d917d0..9c812ce34 100644
--- a/Library/Homebrew/exceptions.rb
+++ b/Library/Homebrew/exceptions.rb
@@ -213,11 +213,3 @@ class ChecksumMismatchError < RuntimeError
super + advice.to_s
end
end
-
-module Homebrew extend self
- SUDO_BAD_ERRMSG = <<-EOS.undent
- 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
-end