dev-cmd/bottle: fix libarchive installed check.

Used now-removed old method name.
This commit is contained in:
Mike McQuaid 2021-04-21 11:39:19 +01:00
parent 3156b531d0
commit 965dbaa172
No known key found for this signature in database
GPG Key ID: 48A898132FD8EE70

View File

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