formula_installer: fix installation of local bottles

This commit is contained in:
Bo Anderson 2021-09-22 19:36:53 +01:00
parent 461004db30
commit f1e4add444
No known key found for this signature in database
GPG Key ID: 3DB94E204E137D65

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?