diff options
author | Richard Hughes <richard@hughsie.com> | 2016-12-06 13:28:21 +0000 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2016-12-06 13:29:13 +0000 |
commit | 6fff3bfcdd9e1cfcb30fd3c4fc9ddea236cb983b (patch) | |
tree | f4a5e66e01820860982a165fbdfae7cc448ccc61 | |
parent | 5d2a2ff1cf811799b93408662f92993e073d54c7 (diff) | |
download | appstream-glib-6fff3bfcdd9e1cfcb30fd3c4fc9ddea236cb983b.tar.gz |
Don't add <kudos> for addons
-rw-r--r-- | libappstream-builder/plugins/asb-plugin-hardcoded.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libappstream-builder/plugins/asb-plugin-hardcoded.c b/libappstream-builder/plugins/asb-plugin-hardcoded.c index 2705108..8563394 100644 --- a/libappstream-builder/plugins/asb-plugin-hardcoded.c +++ b/libappstream-builder/plugins/asb-plugin-hardcoded.c @@ -51,6 +51,10 @@ asb_plugin_process_app (AsbPlugin *plugin, guint i; g_autofree gchar *prefix = NULL; + /* skip for addons */ + if (as_app_get_kind (AS_APP (app)) == AS_APP_KIND_ADDON) + return TRUE; + /* look for any installed docs */ filelist = asb_package_get_filelist (pkg); for (i = 0; filelist[i] != NULL; i++) { |