summaryrefslogtreecommitdiff
path: root/common/flatpak-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/flatpak-utils.c')
-rw-r--r--common/flatpak-utils.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/flatpak-utils.c b/common/flatpak-utils.c
index f7d53e64..f093c2a1 100644
--- a/common/flatpak-utils.c
+++ b/common/flatpak-utils.c
@@ -733,7 +733,8 @@ flatpak_get_allowed_exports (const char *source_path,
{
g_ptr_array_add (allowed_extensions, g_strdup (".xml"));
}
- else if (strcmp (source_path, "share/appdata") == 0)
+ else if (strcmp (source_path, "share/metainfo") == 0 ||
+ strcmp (source_path, "share/appdata") == 0)
{
g_ptr_array_add (allowed_extensions, g_strdup (".xml"));
}