Merge pull request #14300 from apainintheneck/remove-bitdefender-diagnostic-check

Remove bitdefender diagnostic check
This commit is contained in:
Kevin 2022-12-29 17:37:37 -08:00 committed by GitHub
commit d84d4b51a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -364,19 +364,6 @@ module Homebrew
end
end
def check_for_bitdefender
if !Pathname("/Library/Bitdefender/AVP/EndpointSecurityforMac.app").exist? &&
!Pathname("/Library/Bitdefender/AVP/BDLDaemon").exist?
return
end
<<~EOS
You have installed Bitdefender. The "Traffic Scan" option interferes with
Homebrew's ability to download packages. See:
#{Formatter.url("https://github.com/Homebrew/brew/issues/5558")}
EOS
end
def check_for_multiple_volumes
return unless HOMEBREW_CELLAR.exist?