From fbeeae96eff0c02fd51b21d2671f76656ce5783c Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sat, 11 Apr 2020 14:20:49 +0100 Subject: [PATCH] rubocops/text: check openssl and openssl@1.1. --- Library/Homebrew/rubocops/text.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/rubocops/text.rb b/Library/Homebrew/rubocops/text.rb index fd04f48d5e..8d40777379 100644 --- a/Library/Homebrew/rubocops/text.rb +++ b/Library/Homebrew/rubocops/text.rb @@ -12,7 +12,7 @@ module RuboCop problem "Please set plist_options when using a formula-defined plist." end - if depends_on?("openssl") && depends_on?("libressl") + if (depends_on?("openssl") || depends_on?("openssl@1.1")) && depends_on?("libressl") problem "Formulae should not depend on both OpenSSL and LibreSSL (even optionally)." end