[gnome-software] Ensure we actually schedule firmware updates for download
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] Ensure we actually schedule firmware updates for download
- Date: Mon, 28 Nov 2016 09:16:58 +0000 (UTC)
commit 45b1d5c01047fddffbe1e9a25ffe80774e4dbca5
Author: Richard Hughes <richard hughsie com>
Date: Mon Nov 28 08:46:18 2016 +0000
Ensure we actually schedule firmware updates for download
src/plugins/gs-plugin-fwupd.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/plugins/gs-plugin-fwupd.c b/src/plugins/gs-plugin-fwupd.c
index bc60c78..61bc558 100644
--- a/src/plugins/gs-plugin-fwupd.c
+++ b/src/plugins/gs-plugin-fwupd.c
@@ -563,6 +563,10 @@ gs_plugin_add_update_app (GsPlugin *plugin,
gs_app_set_local_file (app, file);
gs_app_list_add (list, app);
+ /* schedule for download */
+ if (!g_file_test (filename_cache, G_FILE_TEST_EXISTS))
+ gs_plugin_fwupd_add_required_location (plugin, update_uri);
+
return TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]