summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2016-12-06 13:28:21 +0000
committerRichard Hughes <richard@hughsie.com>2016-12-06 13:29:13 +0000
commit6fff3bfcdd9e1cfcb30fd3c4fc9ddea236cb983b (patch)
treef4a5e66e01820860982a165fbdfae7cc448ccc61
parent5d2a2ff1cf811799b93408662f92993e073d54c7 (diff)
downloadappstream-glib-6fff3bfcdd9e1cfcb30fd3c4fc9ddea236cb983b.tar.gz
Don't add <kudos> for addons
-rw-r--r--libappstream-builder/plugins/asb-plugin-hardcoded.c4
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++) {