[gnome-software/cherry-pick-1492889e] Merge branch 'wip/mcrha/gs-plugin-appstream-refine' into 'master'




commit 66fd78414f0ae3781b9df612b9bdd05e26d39401
Author: Milan Crha <mcrha redhat com>
Date:   Wed May 19 16:12:44 2021 +0000

    Merge branch 'wip/mcrha/gs-plugin-appstream-refine' into 'master'
    
    gs-plugin-appstream: Correct gs_plugin_refine()
    
    See merge request GNOME/gnome-software!750
    
    (cherry picked from commit 1492889e36d2cc8ce1dc6cf9111d942005d4ef11)
    
    13c6cf49 gs-plugin-appstream: Correct gs_plugin_refine()

 plugins/core/gs-plugin-appstream.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/plugins/core/gs-plugin-appstream.c b/plugins/core/gs-plugin-appstream.c
index 953b65290..e353fa45e 100644
--- a/plugins/core/gs-plugin-appstream.c
+++ b/plugins/core/gs-plugin-appstream.c
@@ -908,7 +908,7 @@ gs_plugin_refine (GsPlugin *plugin,
                /* not us */
                if (gs_app_get_bundle_kind (app) != AS_BUNDLE_KIND_PACKAGE &&
                    gs_app_get_bundle_kind (app) != AS_BUNDLE_KIND_UNKNOWN)
-                       return TRUE;
+                       continue;
 
                /* find by ID then fall back to package name */
                if (!gs_plugin_refine_from_id (plugin, app, flags, &found, error))


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