formula_installer: remove feature flags.
We've been testing the recursive dependency check and allowing unlinked dependencies in CI for a while with no adverse consequences so enable them globally now for all users.
This commit is contained in:
parent
6e1faf5b88
commit
e41f0bf8c8
@ -173,7 +173,6 @@ class FormulaInstaller
|
||||
EOS
|
||||
end
|
||||
|
||||
if ENV["HOMEBREW_CHECK_RECURSIVE_VERSION_DEPENDENCIES"]
|
||||
version_hash = {}
|
||||
version_conflicts = Set.new
|
||||
recursive_formulae.each do |f|
|
||||
@ -191,17 +190,6 @@ class FormulaInstaller
|
||||
View these with `brew deps --tree #{formula.full_name}`.
|
||||
EOS
|
||||
end
|
||||
end
|
||||
|
||||
unless ENV["HOMEBREW_NO_CHECK_UNLINKED_DEPENDENCIES"]
|
||||
unlinked_deps = recursive_formulae.select do |dep|
|
||||
dep.installed? && !dep.keg_only? && !dep.linked_keg.directory?
|
||||
end
|
||||
|
||||
unless unlinked_deps.empty?
|
||||
raise CannotInstallFormulaError, "You must `brew link #{unlinked_deps*" "}` before #{formula.full_name} can be installed"
|
||||
end
|
||||
end
|
||||
|
||||
pinned_unsatisfied_deps = recursive_deps.select do |dep|
|
||||
dep.to_formula.pinned? && !dep.satisfied?(inherited_options_for(dep))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user