diff options
author | Richard Hughes <richard@hughsie.com> | 2016-12-06 13:28:29 +0000 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2017-01-17 10:36:20 +0000 |
commit | 84d0ddabef87bfe8553a13a869f79ad38c12f383 (patch) | |
tree | 984421951d8fb4aabf5fcabffe0f91b20603189e | |
parent | 33c464b1dd12b1a2ff08dc0efae40598f679a31d (diff) | |
download | appstream-glib-84d0ddabef87bfe8553a13a869f79ad38c12f383.tar.gz |
Don't add <provides> for addons
-rw-r--r-- | libappstream-glib/as-app-builder.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libappstream-glib/as-app-builder.c b/libappstream-glib/as-app-builder.c index 5d15225..f0ae24c 100644 --- a/libappstream-glib/as-app-builder.c +++ b/libappstream-glib/as-app-builder.c @@ -633,6 +633,10 @@ as_app_builder_search_provides (AsApp *app, AsAppBuilderFlags flags, GError **error) { + /* skip for addons */ + if (as_app_get_kind (AS_APP (app)) == AS_APP_KIND_ADDON) + return TRUE; + if (!as_app_builder_search_dbus (app, prefix, "share/dbus-1/system-services", AS_PROVIDE_KIND_DBUS_SYSTEM, |