[gnome-software/gnome-3-22] Ensure we actually schedule firmware updates for download
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/gnome-3-22] Ensure we actually schedule firmware updates for download
- Date: Thu, 1 Dec 2016 14:34:25 +0000 (UTC)
commit 8d6b126d4ac001513a32e3428950cb484bed2db8
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 ed3bc11..1b6e8de 100644
--- a/src/plugins/gs-plugin-fwupd.c
+++ b/src/plugins/gs-plugin-fwupd.c
@@ -495,6 +495,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]