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

tingping/wmclass
Alexander Larsson 2017-03-08 12:31:00 +01:00
parent a9acdc0532
commit 7d1a8f69f6
1 changed files with 1 additions and 1 deletions

View File

@ -3167,7 +3167,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);