[gnome-software/1941-add-gs_plugin_rule_better_than-rpm-ostree-to-flatpak-plugin] flatpak: Set the plugin better than rpm-ostree



commit 604e2e976ee678e7e31e0f9ff60058e9036967fc
Author: Milan Crha <mcrha redhat com>
Date:   Fri Oct 14 09:29:30 2022 +0200

    flatpak: Set the plugin better than rpm-ostree
    
    It's already set better than packagekit, thus it's better than rpm-ostree
    as well.
    
    Closes https://gitlab.gnome.org/GNOME/gnome-software/-/issues/1941

 plugins/flatpak/gs-plugin-flatpak.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/plugins/flatpak/gs-plugin-flatpak.c b/plugins/flatpak/gs-plugin-flatpak.c
index 8bb612fcd..7c893ef67 100644
--- a/plugins/flatpak/gs-plugin-flatpak.c
+++ b/plugins/flatpak/gs-plugin-flatpak.c
@@ -96,6 +96,7 @@ gs_plugin_flatpak_init (GsPluginFlatpak *self)
 
        /* prioritize over packages */
        gs_plugin_add_rule (plugin, GS_PLUGIN_RULE_BETTER_THAN, "packagekit");
+       gs_plugin_add_rule (plugin, GS_PLUGIN_RULE_BETTER_THAN, "rpm-ostree");
 
        /* set name of MetaInfo file */
        gs_plugin_set_appstream_id (plugin, "org.gnome.Software.Plugin.Flatpak");


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