audit: allow Linux checking Homebrew dependencies.

This applies to linuxbrew-core rather than Linux, really.
This commit is contained in:
Mike McQuaid 2020-10-09 13:05:37 +01:00
parent 74d7281873
commit e60e41d548
No known key found for this signature in database
GPG Key ID: 48A898132FD8EE70

View File

@ -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 = {}