diff options
author | Richard Hughes <richard@hughsie.com> | 2016-12-06 13:28:21 +0000 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2017-01-17 10:36:20 +0000 |
commit | 33c464b1dd12b1a2ff08dc0efae40598f679a31d (patch) | |
tree | 96f12a18c4319f0c371b8265c332167e7cdf605f | |
parent | 5e13d9db170dd1bbdba74cdf6577b8dc88650dc0 (diff) | |
download | appstream-glib-33c464b1dd12b1a2ff08dc0efae40598f679a31d.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++) { |