summaryrefslogtreecommitdiff
path: root/ext/repo_appdata.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/repo_appdata.c')
-rw-r--r--ext/repo_appdata.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/repo_appdata.c b/ext/repo_appdata.c
index 63c03fc..2d3fc37 100644
--- a/ext/repo_appdata.c
+++ b/ext/repo_appdata.c
@@ -62,7 +62,9 @@ struct stateswitch {
/* !! must be sorted by first column !! */
static struct stateswitch stateswitches[] = {
{ STATE_START, "applications", STATE_START, 0 },
+ { STATE_START, "components", STATE_START, 0 },
{ STATE_START, "application", STATE_APPLICATION, 0 },
+ { STATE_START, "component", STATE_APPLICATION, 0 },
{ STATE_APPLICATION, "id", STATE_ID, 1 },
{ STATE_APPLICATION, "pkgname", STATE_PKGNAME, 1 },
{ STATE_APPLICATION, "product_license", STATE_LICENCE, 1 },