[gnome-software/wip/william/cherry-pick-4: 23/23] provenance: Order after apt so we have the origin set



commit c28cf043c565750679d964999e932f38c47957a5
Author: Iain Lane <iain orangesquash org uk>
Date:   Wed Apr 13 18:43:08 2016 +0100

    provenance: Order after apt so we have the origin set
    
    ubuntu-specific: apt should use order_before, but this seems buggy and
    creates a loop currently.

 src/plugins/gs-plugin-provenance.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/plugins/gs-plugin-provenance.c b/src/plugins/gs-plugin-provenance.c
index e72779a..6cd7478 100644
--- a/src/plugins/gs-plugin-provenance.c
+++ b/src/plugins/gs-plugin-provenance.c
@@ -69,6 +69,7 @@ gs_plugin_initialize (GsPlugin *plugin)
        priv->sources = gs_plugin_provenance_get_sources (plugin);
 
        /* after the package source is set */
+       gs_plugin_add_rule (plugin, GS_PLUGIN_RULE_RUN_AFTER, "apt");
        gs_plugin_add_rule (plugin, GS_PLUGIN_RULE_RUN_AFTER, "dummy");
        gs_plugin_add_rule (plugin, GS_PLUGIN_RULE_RUN_AFTER, "packagekit-refine");
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]