From efa282f9eaf3348d07d725da0b492f266a526f0b Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Wed, 8 Mar 2017 12:31:00 +0100 Subject: [PATCH] appstream: Don't add runtime to flatpak bundle tag for runtimes (cherry picked from commit 7d1a8f69f644712d24dd061e4b52b59314cdec23) --- common/flatpak-utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/flatpak-utils.c b/common/flatpak-utils.c index 96865f90d..3a86a4b06 100644 --- a/common/flatpak-utils.c +++ b/common/flatpak-utils.c @@ -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);