[gnome-software/wip/ubuntu-3-26: 8/13] packagekit: Disable updates
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [gnome-software/wip/ubuntu-3-26: 8/13] packagekit: Disable updates
- Date: Fri, 29 Sep 2017 14:23:48 +0000 (UTC)
commit b5c3bcffad8d07a6371d1f6f6f73ea56b89ef43d
Author: Iain Lane <iain orangesquash org uk>
Date:   Thu Jul 20 10:12:58 2017 +0100
    packagekit: Disable updates
    
    In Ubuntu we use Update Manager for this currently. The long term plan
    is to use Software, but we're not there yet.
 plugins/packagekit/gs-plugin-systemd-updates.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/plugins/packagekit/gs-plugin-systemd-updates.c b/plugins/packagekit/gs-plugin-systemd-updates.c
index 57beae9..e2a466a 100644
--- a/plugins/packagekit/gs-plugin-systemd-updates.c
+++ b/plugins/packagekit/gs-plugin-systemd-updates.c
@@ -151,6 +151,9 @@ gs_plugin_add_updates (GsPlugin *plugin,
        g_autoptr(GError) error_local = NULL;
        g_auto(GStrv) package_ids = NULL;
 
+       /* In Ubuntu we're using Update Manager for this, for now. */
+       return TRUE;
+
        /* get the id's if the file exists */
        package_ids = pk_offline_get_prepared_ids (&error_local);
        if (package_ids == NULL) {
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]