Merge pull request #3550 from MikeMcQuaid/fix-undefined-xquartz

Revert "formula_installer: tweak dependent requirements."
This commit is contained in:
Mike McQuaid 2017-12-09 20:47:30 +00:00 committed by GitHub
commit e5e91f0216
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -404,8 +404,8 @@ class FormulaInstaller
fatals = [] fatals = []
req_map.each_pair do |dependent, reqs| req_map.each_pair do |dependent, reqs|
next if dependent.installed?
reqs.each do |req| reqs.each do |req|
next if dependent.installed? && req.name == "maximummacos"
@requirement_messages << "#{dependent}: #{req.message}" @requirement_messages << "#{dependent}: #{req.message}"
fatals << req if req.fatal? fatals << req if req.fatal?
end end