Merge pull request #15106 from ywwry66/skip_post_install

Fix `brew install --skip-post-install`
This commit is contained in:
Carlo Cabrera 2023-03-31 14:40:33 +08:00 committed by GitHub
commit 13f4ecc8cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -250,6 +250,7 @@ module Homebrew
quiet: args.quiet?,
verbose: args.verbose?,
dry_run: args.dry_run?,
skip_post_install: args.skip_post_install?,
)
Upgrade.check_installed_dependents(

View File

@ -281,7 +281,8 @@ module Homebrew
debug: false,
quiet: false,
verbose: false,
dry_run: false
dry_run: false,
skip_post_install: false
)
formula_installers = formulae_to_install.map do |formula|
Migrator.migrate_if_needed(formula, force: force, dry_run: dry_run)
@ -307,6 +308,7 @@ module Homebrew
debug: debug,
quiet: quiet,
verbose: verbose,
skip_post_install: skip_post_install,
)
begin