summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libappstream-builder/asb-plugin.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/libappstream-builder/asb-plugin.c b/libappstream-builder/asb-plugin.c
index 3ba36b8..edfe92e 100644
--- a/libappstream-builder/asb-plugin.c
+++ b/libappstream-builder/asb-plugin.c
@@ -102,7 +102,6 @@ asb_plugin_add_app (GList **list, AsApp *app)
void
asb_plugin_add_glob (GPtrArray *array, const gchar *glob)
{
- /* handle bundles automatically */
g_ptr_array_add (array, asb_glob_value_new (glob, ""));
}
@@ -118,12 +117,5 @@ asb_plugin_add_glob (GPtrArray *array, const gchar *glob)
gboolean
asb_plugin_match_glob (const gchar *glob, const gchar *value)
{
- /* handle bundles automatically */
- if (g_str_has_prefix (glob, "/usr/")) {
- g_autofree gchar *glob_bundle = NULL;
- glob_bundle = g_strdup_printf ("/files/%s", glob + 5);
- if (fnmatch (glob_bundle, value, 0) == 0)
- return TRUE;
- }
return (fnmatch (glob, value, 0) == 0);
}