aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Homebrew/diagnostic.rb13
1 files changed, 0 insertions, 13 deletions
diff --git a/Library/Homebrew/diagnostic.rb b/Library/Homebrew/diagnostic.rb
index b5dd07ac5..19148a6ae 100644
--- a/Library/Homebrew/diagnostic.rb
+++ b/Library/Homebrew/diagnostic.rb
@@ -1069,19 +1069,6 @@ module Homebrew
message
end
- def check_for_member_of_admin_group
- groups = Utils.popen_read("groups").split
- return if groups.include?("admin")
-
- <<-EOS.undent
- You are not a member of the "admin" group, which will cause
- commands like `brew linkapps` to fail.
-
- To fix this, you can run:
- `sudo dseditgroup -o edit -a $(whoami) -t user admin`
- EOS
- end
-
def all
methods.map(&:to_s).grep(/^check_/)
end