[gnome-software/wip/ubuntu-3-26: 7/13] packagekit: Disable updates



commit a829fba0a4c525ab48c6062d64ff3b396295cec3
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]