From e60e41d54895311f2b869ba12a34503a242d3f55 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Fri, 9 Oct 2020 13:05:37 +0100 Subject: [PATCH] audit: allow Linux checking Homebrew dependencies. This applies to linuxbrew-core rather than Linux, really. --- Library/Homebrew/dev-cmd/audit.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/dev-cmd/audit.rb b/Library/Homebrew/dev-cmd/audit.rb index 40408b552d..c6c7b47af6 100644 --- a/Library/Homebrew/dev-cmd/audit.rb +++ b/Library/Homebrew/dev-cmd/audit.rb @@ -519,7 +519,7 @@ module Homebrew # The number of conflicts on Linux is absurd. # TODO: remove this and check these there too. - return if OS.linux? + return if OS.linux? && !Homebrew::EnvConfig.force_homebrew_on_linux? recursive_runtime_formulae = formula.runtime_formula_dependencies(undeclared: false) version_hash = {}