Merge pull request #12112 from Bo98/fi-local-bottle-path

formula_installer: fix installation of local bottles
This commit is contained in:
Bo Anderson 2021-09-22 19:56:55 +01:00 committed by GitHub
commit c8266d5290
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -150,6 +150,8 @@ class FormulaInstaller
return false
end
return true if formula.local_bottle_path.present?
bottle = formula.bottle_for_tag(Utils::Bottles.tag.to_sym)
return false if bottle.nil?