Merge pull request #10836 from carlocab/unsupported-versions
formula_installer: skip bottle check on old Macs
This commit is contained in:
commit
636ac91817
@ -246,7 +246,9 @@ class FormulaInstaller
|
||||
# don't want to complain about no bottle available if doing an
|
||||
# upgrade/reinstall/dependency install (but do in the case the bottle
|
||||
# check fails)
|
||||
elsif !Homebrew::EnvConfig.developer? && (!installed_as_dependency? || !formula.any_version_installed?)
|
||||
elsif !Homebrew::EnvConfig.developer? &&
|
||||
(!installed_as_dependency? || !formula.any_version_installed?) &&
|
||||
(!OS.mac? || !OS::Mac.outdated_release?)
|
||||
<<~EOS
|
||||
#{formula}: no bottle available!
|
||||
EOS
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user