From de676841f64c24459e56f42fdc96ef406aab2fa6 Mon Sep 17 00:00:00 2001 From: Carlo Cabrera <30379873+carlocab@users.noreply.github.com> Date: Thu, 11 Mar 2021 17:49:43 +0000 Subject: [PATCH] formula_installer: skip bottle check on old Macs Fixes #10832. --- Library/Homebrew/formula_installer.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb index ba4f5a640a..409aa06556 100644 --- a/Library/Homebrew/formula_installer.rb +++ b/Library/Homebrew/formula_installer.rb @@ -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