[gnome-software/wip/kalev/fix-cockpit-install: 2/2] packagekit: Don't skip over web apps



commit 516ea45451d21504b1bd48f1c4f574e103455e80
Author: Kalev Lember <klember redhat com>
Date:   Tue Sep 24 11:19:31 2019 +0200

    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 a24b5841..1da3cc16 100644
--- a/plugins/packagekit/gs-plugin-packagekit-refine.c
+++ b/plugins/packagekit/gs-plugin-packagekit-refine.c
@@ -488,8 +488,6 @@ gs_plugin_packagekit_refine_details (GsPlugin *plugin,
                GsApp *app = gs_app_list_index (list, i);
                if (gs_app_has_quirk (app, GS_APP_QUIRK_IS_WILDCARD))
                        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)
@@ -639,8 +637,6 @@ gs_plugin_packagekit_refine_name_to_id (GsPlugin *plugin,
                const gchar *tmp;
                if (gs_app_has_quirk (app, GS_APP_QUIRK_IS_WILDCARD))
                        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;


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