[gnome-software] trivial: Be nice to people installing gnome-software locally



commit dbaf188bda49861cbf3945940980c18beec91ff1
Author: Richard Hughes <richard hughsie com>
Date:   Wed Jun 1 14:08:19 2016 +0100

    trivial: Be nice to people installing gnome-software locally

 src/plugins/gs-plugin-flatpak-system.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/plugins/gs-plugin-flatpak-system.c b/src/plugins/gs-plugin-flatpak-system.c
index 14a42e7..b33dd12 100644
--- a/src/plugins/gs-plugin-flatpak-system.c
+++ b/src/plugins/gs-plugin-flatpak-system.c
@@ -46,6 +46,9 @@ gs_plugin_initialize (GsPlugin *plugin)
 
        /* getting app properties from appstream is quicker */
        gs_plugin_add_rule (plugin, GS_PLUGIN_RULE_RUN_AFTER, "appstream");
+
+       /* do not load the plugin with the old name */
+       gs_plugin_add_rule (plugin, GS_PLUGIN_RULE_CONFLICTS, "flatpak");
 }
 
 void


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