[gnome-software/gnome-3-18] Do not force the cache refresh



commit 2bdc001f784ade91fd5fd2823e5ddc4f776fc89e
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 78a51fb..a67b4f6 100644
--- a/src/gs-update-monitor.c
+++ b/src/gs-update-monitor.c
@@ -434,7 +434,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]