Use fwupdmgr update instead of upgrade (fix #695)

This commit is contained in:
Roey Darwish Dror
2021-04-24 06:04:52 +03:00
parent cf63db2786
commit 5989685df5

View File

@@ -521,7 +521,7 @@ pub fn run_fwupdmgr(ctx: &ExecutionContext) -> Result<()> {
let mut upgrade = ctx.run_type().execute(&fwupdmgr); let mut upgrade = ctx.run_type().execute(&fwupdmgr);
upgrade.arg("upgrade"); upgrade.arg("update");
if ctx.config().yes() { if ctx.config().yes() {
upgrade.arg("-y"); upgrade.arg("-y");
} }