]> git.ipfire.org Git - pakfire.git/commitdiff
transaction: Don't wipe dump when we change a package
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 20 Sep 2023 18:25:34 +0000 (18:25 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 20 Sep 2023 18:25:34 +0000 (18:25 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/libpakfire/transaction.c

index 91470699f74169ef9d3891cc9b17b90604556504..ae09b79390e8910e59c6a8051b3d4640f2f094bb 100644 (file)
@@ -416,7 +416,7 @@ static int pakfire_transaction_add_package_change(char** s, size_t width,
 
        // Then show the change
        r = pakfire_transaction_append_line(s,
-               "   --> %s\n", pakfire_package_get_string(old_pkg, PAKFIRE_PKG_NEVRA));
+               "%s   --> %s\n", *s, pakfire_package_get_string(old_pkg, PAKFIRE_PKG_NEVRA));
        if (r < 0)
                return r;