formula_installer: use existing no bottle text.

This commit is contained in:
Mike McQuaid 2020-12-31 13:09:35 +00:00 committed by GitHub
parent 2dedca337e
commit cc50307aca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -243,7 +243,7 @@ class FormulaInstaller
ENV["HOMEBREW_TEST_TMPDIR"].nil? &&
!pour_bottle?
message = <<~EOS
#{formula}: unable to pour bottle!
#{formula}: no bottle available!
EOS
if !formula.pour_bottle? && formula.pour_bottle_check_unsatisfied_reason
message += formula.pour_bottle_check_unsatisfied_reason