summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libappstream-glib/as-app.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libappstream-glib/as-app.c b/libappstream-glib/as-app.c
index 5de0bdd..812c1b4 100644
--- a/libappstream-glib/as-app.c
+++ b/libappstream-glib/as-app.c
@@ -4018,6 +4018,10 @@ as_app_create_token_cache_target (AsApp *app, AsApp *donor)
tmp = g_ptr_array_index (priv->mimetypes, i);
as_app_add_tokens (app, tmp, "C", 1);
}
+ for (i = 0; i < priv->pkgnames->len; i++) {
+ tmp = g_ptr_array_index (priv->pkgnames, i);
+ as_app_add_tokens (app, tmp, "C", 1);
+ }
}
/**