diff options
-rw-r--r-- | libappstream-builder/plugins/asb-plugin-gettext.c | 2 | ||||
-rw-r--r-- | libappstream-builder/plugins/asb-plugin-hardcoded.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/libappstream-builder/plugins/asb-plugin-gettext.c b/libappstream-builder/plugins/asb-plugin-gettext.c index 1e67a85..5678fea 100644 --- a/libappstream-builder/plugins/asb-plugin-gettext.c +++ b/libappstream-builder/plugins/asb-plugin-gettext.c @@ -50,6 +50,8 @@ asb_plugin_process_app (AsbPlugin *plugin, /* skip for addons */ if (as_app_get_kind (AS_APP (app)) == AS_APP_KIND_ADDON) return TRUE; + if (as_app_get_kind (AS_APP (app)) == AS_APP_KIND_GENERIC) + return TRUE; /* auto-add this */ translations = as_app_get_translations (AS_APP (app)); diff --git a/libappstream-builder/plugins/asb-plugin-hardcoded.c b/libappstream-builder/plugins/asb-plugin-hardcoded.c index 8563394..46a2098 100644 --- a/libappstream-builder/plugins/asb-plugin-hardcoded.c +++ b/libappstream-builder/plugins/asb-plugin-hardcoded.c @@ -54,6 +54,8 @@ asb_plugin_process_app (AsbPlugin *plugin, /* skip for addons */ if (as_app_get_kind (AS_APP (app)) == AS_APP_KIND_ADDON) return TRUE; + if (as_app_get_kind (AS_APP (app)) == AS_APP_KIND_GENERIC) + return TRUE; /* look for any installed docs */ filelist = asb_package_get_filelist (pkg); |