diff options
Diffstat (limited to 'libappstream-builder/asb-app.c')
-rw-r--r-- | libappstream-builder/asb-app.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libappstream-builder/asb-app.c b/libappstream-builder/asb-app.c index def0a41..2146aed 100644 --- a/libappstream-builder/asb-app.c +++ b/libappstream-builder/asb-app.c @@ -121,7 +121,8 @@ asb_app_set_package (AsbApp *app, AsbPackage *pkg) g_set_object (&priv->pkg, pkg); /* be helpful */ - as_app_add_pkgname (AS_APP (app), asb_package_get_name (pkg)); + if (asb_package_get_kind (pkg) == ASB_PACKAGE_KIND_DEFAULT) + as_app_add_pkgname (AS_APP (app), asb_package_get_name (pkg)); } /** |