diff options
author | Richard Hughes <richard@hughsie.com> | 2016-01-22 13:57:48 +0000 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2016-01-22 13:57:48 +0000 |
commit | ee1cea9eb635988342c29018a02350fcffb59ab3 (patch) | |
tree | 6d7d772d9de89ced3a2248e4ad150349fd6c0840 | |
parent | 07aed137cf66aca6fdc6d5b2e4ec27e16285bc71 (diff) | |
download | appstream-glib-ee1cea9eb635988342c29018a02350fcffb59ab3.tar.gz |
trivial: Fix building firmware after the ostree removal
-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)); } /** |