diff options
author | Richard Hughes <richard@hughsie.com> | 2017-01-12 19:18:27 +0000 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2017-01-12 19:18:27 +0000 |
commit | 61476de09a4af54f135cee0d8e259ee5152422a2 (patch) | |
tree | bd7e3054bf16f1755f6de4456732c99738f9ddeb | |
parent | f5f700a709180ed5e3ecb9982b46ffb6126ba5ee (diff) | |
download | appstream-glib-61476de09a4af54f135cee0d8e259ee5152422a2.tar.gz |
Do not ignore type=replace merge components
-rw-r--r-- | libappstream-glib/as-store.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libappstream-glib/as-store.c b/libappstream-glib/as-store.c index e8ac300..e1e9ce8 100644 --- a/libappstream-glib/as-store.c +++ b/libappstream-glib/as-store.c @@ -1498,7 +1498,7 @@ as_store_from_root (AsStore *store, /* filter out non-merge types */ if (load_flags & AS_STORE_LOAD_FLAG_ONLY_MERGE_APPS) { - if (as_app_get_merge_kind (app) != AS_APP_MERGE_KIND_APPEND && + if (as_app_get_merge_kind (app) != AS_APP_MERGE_KIND_REPLACE && as_app_get_merge_kind (app) != AS_APP_MERGE_KIND_APPEND) { continue; } |