appstream: Don't add runtime to flatpak bundle tag for runtimes

(cherry picked from commit 7d1a8f69f6)
This commit is contained in:
Alexander Larsson committed 2017-03-10 10:20:18 +01:00
1 parent e536497d3f
commit efa282f9ea
1 file changed
+1 -1
+1 -1
View File
@@ -2992,7 +2992,7 @@ validate_component (FlatpakXml *component,
bundle->attribute_values[0] = g_strdup ("flatpak");
i = 1;
if (runtime)
if (runtime && !g_str_has_prefix (runtime, "runtime/"))
{
bundle->attribute_names[i] = g_strdup ("runtime");
bundle->attribute_values[i] = g_strdup (runtime);