Don't run pacdiff when --yes is specified (fix #846)

This commit is contained in:
Roey Darwish Dror
2022-01-26 22:50:52 +02:00
parent 6b09212814
commit 5f4dd33f1f
2 changed files with 9 additions and 7 deletions

View File

@@ -135,9 +135,7 @@ fn run() -> Result<()> {
println!("Error detecting current distribution: {}", e);
}
}
runner.execute(Step::System, "config-update", || {
linux::run_config_update(sudo.as_ref(), run_type)
})?;
runner.execute(Step::System, "config-update", || linux::run_config_update(&ctx))?;
runner.execute(Step::BrewFormula, "Brew", || {
unix::run_brew_formula(&ctx, unix::BrewVariant::Linux)