10.3.2 patch (#378)

* 10.3.2 patch

* Clippy
This commit is contained in:
Thomas Schönauer
2023-03-12 20:37:41 +00:00
committed by GitHub
parent 199b81183b
commit 462016e51e
3 changed files with 200 additions and 171 deletions

View File

@@ -26,7 +26,7 @@ pub fn upgrade_packages(ctx: &ExecutionContext) -> Result<()> {
ctx.run_type().execute(&pkg).arg("clean").status_checked()?;
let apt = require("apt")?;
let mut command = ctx.run_type().execute(&apt);
let mut command = ctx.run_type().execute(apt);
command.arg("autoremove");
if ctx.config().yes(Step::System) {
command.arg("-y");