Commit 0f061383 authored by Richard Hughes's avatar Richard Hughes Committed by Kalev Lember

fwupd: Delete the file from the cache when installed

It's super-unlikely the user will ever use this archive again.
parent 9a564f0a
Pipeline #67652 passed with stage
in 21 minutes and 5 seconds
......@@ -801,8 +801,10 @@ gs_plugin_fwupd_install (GsPlugin *plugin,
gs_app_set_state_recover (app);
return FALSE;
}
/* delete the file from the cache */
gs_app_set_state (app, AS_APP_STATE_INSTALLED);
return TRUE;
return g_file_delete (local_file, cancellable, error);
}
static gboolean
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment