[gnome-software/gnome-3-16] Do not force the cache refresh
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/gnome-3-16] Do not force the cache refresh
- Date: Tue, 13 Oct 2015 12:34:20 +0000 (UTC)
commit 8ef592fb6a12ff936d61a51690db50e2c122bf87
Author: Richard Hughes <richard hughsie com>
Date: Tue Oct 13 10:30:34 2015 +0100
Do not force the cache refresh
If we're only installing updates once per week it doesn't make sense to delete
the already-downloaded packages if refresh-cache is on the same schedule.
Perhaps fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1208861
src/gs-update-monitor.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gs-update-monitor.c b/src/gs-update-monitor.c
index 1bf2eaf..a859a3e 100644
--- a/src/gs-update-monitor.c
+++ b/src/gs-update-monitor.c
@@ -397,7 +397,7 @@ refresh_cache (GsUpdateMonitor *monitor)
g_debug ("Refreshing cache");
pk_client_refresh_cache_async (PK_CLIENT (monitor->task),
- TRUE,
+ FALSE,
monitor->cancellable,
NULL, NULL,
refresh_cache_finished_cb,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]