diff options
author | Richard Hughes <richard@hughsie.com> | 2016-08-05 10:54:52 +0100 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2016-08-05 10:54:52 +0100 |
commit | b0a80677550c1af4f7b3cbd679078ed697b40b37 (patch) | |
tree | 42418ae373c3171db98c7ba30364a9e80a6cf5d5 /libappstream-glib/as-store.c | |
parent | e060e8c4b5c0a568f17386a4d401d384abf48633 (diff) | |
download | appstream-glib-b0a80677550c1af4f7b3cbd679078ed697b40b37.tar.gz |
trivial: Use the existing quirk as it can be made useful again
Diffstat (limited to 'libappstream-glib/as-store.c')
-rw-r--r-- | libappstream-glib/as-store.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libappstream-glib/as-store.c b/libappstream-glib/as-store.c index 08c522b..a1909c4 100644 --- a/libappstream-glib/as-store.c +++ b/libappstream-glib/as-store.c @@ -929,11 +929,11 @@ as_store_add_app (AsStore *store, AsApp *app) /* use some hacky logic to support older files */ if ((priv->add_flags & AS_STORE_ADD_FLAG_USE_MERGE_HEURISTIC) > 0 && _as_app_is_perhaps_merge_component (app)) { - as_app_add_quirk (app, AS_APP_QUIRK_METADATA_MERGE); + as_app_add_quirk (app, AS_APP_QUIRK_MATCH_ANY_PREFIX); } /* this is a special merge component */ - if (as_app_has_quirk (app, AS_APP_QUIRK_METADATA_MERGE)) { + if (as_app_has_quirk (app, AS_APP_QUIRK_MATCH_ANY_PREFIX)) { apps = g_hash_table_lookup (priv->hash_merge_id, id); if (apps == NULL) { apps = g_ptr_array_new_with_free_func ((GDestroyNotify) g_object_unref); |