Added Protonup support

This commit is contained in:
Thomas Schönauer
2022-10-14 16:46:21 +02:00
parent 732d83e7a0
commit 366a742d40
3 changed files with 6 additions and 0 deletions

View File

@@ -574,6 +574,10 @@ pub fn run_pihole_update(sudo: Option<&PathBuf>, run_type: RunType) -> Result<()
run_type.execute(sudo).arg(pihole).arg("-up").check_run()
}
pub fn run_protonup_update(ctx: &ExecutionContext) -> Result<()> {
todo!();
}
pub fn run_config_update(ctx: &ExecutionContext) -> Result<()> {
let sudo = require_option(ctx.sudo().as_ref(), String::from("sudo is not installed"))?;
if ctx.config().yes(Step::ConfigUpdate) {