diff options
author | Richard Hughes <richard@hughsie.com> | 2016-12-06 13:28:29 +0000 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2016-12-06 13:29:13 +0000 |
commit | 8742b2356f22b84aecbfec979fa940ebf98b6bfc (patch) | |
tree | 1453e84c52718169d89cefc1d564646bee55878f | |
parent | 6fff3bfcdd9e1cfcb30fd3c4fc9ddea236cb983b (diff) | |
download | appstream-glib-8742b2356f22b84aecbfec979fa940ebf98b6bfc.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 32fe467..9335d0d 100644 --- a/libappstream-glib/as-app-builder.c +++ b/libappstream-glib/as-app-builder.c @@ -763,6 +763,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, |