Merge pull request #11210 from MikeMcQuaid/bottle_libarchive_installed

dev-cmd/bottle: fix libarchive installed check.
This commit is contained in:
Mike McQuaid 2021-04-21 12:04:49 +01:00 committed by GitHub
commit daa8f7c858
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -271,7 +271,7 @@ module Homebrew
return [].freeze
end
unless libarchive.installed?
unless libarchive.any_version_installed?
ohai "Installing `libarchive` for bottling..."
safe_system HOMEBREW_BREW_FILE, "install", "--formula", libarchive.full_name
end