Unify pacdiff and etc-update

This commit is contained in:
Roey Darwish Dror
2021-12-18 20:20:00 +02:00
parent 2c7dfb66c5
commit 3f12cf11f6
2 changed files with 14 additions and 14 deletions

View File

@@ -134,8 +134,8 @@ fn run() -> Result<()> {
println!("Error detecting current distribution: {}", e);
}
}
runner.execute(Step::System, "etc-update", || {
linux::run_etc_update(sudo.as_ref(), run_type)
runner.execute(Step::System, "config-update", || {
linux::run_config_update(sudo.as_ref(), run_type)
})?;
runner.execute(Step::Pacdiff, "pacdiff", || linux::run_pacdiff(sudo.as_ref(), run_type))?;