File 0008-transaction-Append-bundle-to-correct-list-on-flatpak_transaction_add_install_bundle.patch of Package flatpak.14328

From e4a7b2e2fd5bf6981d7ead04d4781e420bd7d457 Mon Sep 17 00:00:00 2001
From: Andre Moreira Magalhaes <andre@endlessm.com>
Date: Mon, 22 Jul 2019 22:13:36 -0300
Subject: [PATCH] transaction: Append bundle to correct list on
 flatpak_transaction_add_install_bundle()

Signed-off-by: Andre Moreira Magalhaes <andre@endlessm.com>

Closes: #3025
Approved by: matthiasclasen

(cherry picked from commit 37a7b6edfdb8113ff9d770877f3cd58bf898b8a8)
(cherry picked from commit 47af6b39b9315610401580b3fc508dea58585e7c)

Closes: #3115
Approved by: alexlarsson
---
 common/flatpak-transaction.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/flatpak-transaction.c b/common/flatpak-transaction.c
index ba483f135..a870d3007 100644
--- a/common/flatpak-transaction.c
+++ b/common/flatpak-transaction.c
@@ -1807,7 +1807,7 @@ flatpak_transaction_add_install_bundle (FlatpakTransaction *self,
 {
   FlatpakTransactionPrivate *priv = flatpak_transaction_get_instance_private (self);
 
-  priv->bundles = g_list_append (priv->flatpakrefs, bundle_data_new (file, gpg_data));
+  priv->bundles = g_list_append (priv->bundles, bundle_data_new (file, gpg_data));
 
   return TRUE;
 }
openSUSE Build Service is sponsored by