diff --git a/src/Core/FlatpakBackend.vala b/src/Core/FlatpakBackend.vala index f78fb0e74..a22d275d1 100644 --- a/src/Core/FlatpakBackend.vala +++ b/src/Core/FlatpakBackend.vala @@ -798,7 +798,7 @@ public class AppCenterCore.FlatpakBackend : Backend, Object { #if HAS_APPSTREAM_0_15 user_appstream_pool.reset_extra_data_locations (); - user_appstream_pool.add_extra_data_location (user_metadata_path, AppStream.FormatStyle.METAINFO); + user_appstream_pool.add_extra_data_location (user_metadata_path, AppStream.FormatStyle.COLLECTION); #else user_appstream_pool.clear_metadata_locations (); user_appstream_pool.add_metadata_location (user_metadata_path); @@ -833,7 +833,7 @@ public class AppCenterCore.FlatpakBackend : Backend, Object { #if HAS_APPSTREAM_0_15 system_appstream_pool.reset_extra_data_locations (); - system_appstream_pool.add_extra_data_location (system_metadata_path, AppStream.FormatStyle.METAINFO); + system_appstream_pool.add_extra_data_location (system_metadata_path, AppStream.FormatStyle.COLLECTION); #else system_appstream_pool.clear_metadata_locations (); system_appstream_pool.add_metadata_location (system_metadata_path); diff --git a/src/Core/PackageKitBackend.vala b/src/Core/PackageKitBackend.vala index 83e659c6a..117d6fb22 100644 --- a/src/Core/PackageKitBackend.vala +++ b/src/Core/PackageKitBackend.vala @@ -160,7 +160,7 @@ public class AppCenterCore.PackageKitBackend : Backend, Object { #if HIDE_UPSTREAM_DISTRO_APPS #if HAS_APPSTREAM_0_15 appstream_pool.reset_extra_data_locations (); - appstream_pool.add_extra_data_location ("/usr/share/app-info", AppStream.FormatStyle.METAINFO); + appstream_pool.add_extra_data_location ("/usr/share/app-info", AppStream.FormatStyle.COLLECTION); #else // Only use a user cache, the system cache probably contains all the Ubuntu components appstream_pool.set_cache_flags (AppStream.CacheFlags.USE_USER);