summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2016-01-22 13:57:48 +0000
committerRichard Hughes <richard@hughsie.com>2016-01-22 13:57:48 +0000
commitee1cea9eb635988342c29018a02350fcffb59ab3 (patch)
tree6d7d772d9de89ced3a2248e4ad150349fd6c0840
parent07aed137cf66aca6fdc6d5b2e4ec27e16285bc71 (diff)
downloadappstream-glib-ee1cea9eb635988342c29018a02350fcffb59ab3.tar.gz
trivial: Fix building firmware after the ostree removal
-rw-r--r--libappstream-builder/asb-app.c3
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));
}
/**