Use fwupdmgr update instead of upgrade (fix #695)
This commit is contained in:
@@ -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");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user