From d3b4d3bd00b3d664ed5873babf06baf42f624de3 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Tue, 24 Sep 2019 11:19:31 +0200 Subject: [PATCH 2/2] packagekit: Don't skip over web apps We now have web apps that are supposed to be installed as packages. Don't just skip over all web apps, but rely on the management plugin being correctly set. Fixes: https://gitlab.gnome.org/GNOME/gnome-software/issues/802 --- plugins/packagekit/gs-plugin-packagekit-refine.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/plugins/packagekit/gs-plugin-packagekit-refine.c b/plugins/packagekit/gs-plugin-packagekit-refine.c index 924b74a4..84849dc4 100644 --- a/plugins/packagekit/gs-plugin-packagekit-refine.c +++ b/plugins/packagekit/gs-plugin-packagekit-refine.c @@ -487,8 +487,6 @@ gs_plugin_packagekit_refine_details (GsPlugin *plugin, GsApp *app = gs_app_list_index (list, i); if (gs_app_has_quirk (app, AS_APP_QUIRK_MATCH_ANY_PREFIX)) continue; - if (gs_app_get_kind (app) == AS_APP_KIND_WEB_APP) - continue; if (g_strcmp0 (gs_app_get_management_plugin (app), "packagekit") != 0) continue; if (gs_app_get_source_id_default (app) == NULL) @@ -635,8 +633,6 @@ gs_plugin_packagekit_refine_name_to_id (GsPlugin *plugin, const gchar *tmp; if (gs_app_has_quirk (app, AS_APP_QUIRK_MATCH_ANY_PREFIX)) continue; - if (gs_app_get_kind (app) == AS_APP_KIND_WEB_APP) - continue; tmp = gs_app_get_management_plugin (app); if (tmp != NULL && g_strcmp0 (tmp, "packagekit") != 0) continue; -- 2.24.1