Add a configuration variable for greedy cask (fix #401)

This commit is contained in:
Roey Darwish Dror
2020-05-12 09:07:54 +03:00
parent 0a10b110c2
commit 5060451066
4 changed files with 36 additions and 7 deletions

View File

@@ -141,7 +141,7 @@ fn run() -> Result<()> {
#[cfg(unix)]
{
if config.should_run(Step::PackageManagers) {
runner.execute("brew", || unix::run_homebrew(config.cleanup(), run_type))?;
runner.execute("brew", || unix::run_homebrew(&ctx))?;
#[cfg(target_os = "macos")]
runner.execute("MacPorts", || macos::run_macports(&ctx))?;
runner.execute("nix", || unix::run_nix(&ctx))?;