Merge pull request #19180 from Homebrew/gnu-tar-condition-fix

dev-cmd/bottle: don't install gnu-tar when not needed
This commit is contained in:
Mike McQuaid 2025-01-31 14:43:20 +00:00 committed by GitHub
commit f778d217f0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -104,7 +104,7 @@ module Homebrew
Homebrew.install_bundler_gems!(groups: ["bottle"]) Homebrew.install_bundler_gems!(groups: ["bottle"])
gnu_tar_formula_ensure_installed_if_needed! gnu_tar_formula_ensure_installed_if_needed! if args.only_json_tab?
args.named.to_resolved_formulae(uniq: false).each do |formula| args.named.to_resolved_formulae(uniq: false).each do |formula|
bottle_formula formula bottle_formula formula