rpm-utils: fix pkglist printout
Noticed this while doing composes recently. Closes: #833 Approved by: cgwalters
This commit is contained in:
parent
6b8f0f6b23
commit
f0ed8cdb88
@ -969,10 +969,11 @@ rpmostree_print_transaction (DnfContext *hifctx)
|
||||
-1);
|
||||
|
||||
if (packages->len > 0)
|
||||
empty = FALSE;
|
||||
|
||||
g_print ("Installing %u packages:\n", packages->len);
|
||||
print_pkglist (packages);
|
||||
{
|
||||
empty = FALSE;
|
||||
g_print ("Installing %u packages:\n", packages->len);
|
||||
print_pkglist (packages);
|
||||
}
|
||||
}
|
||||
|
||||
{ g_autoptr(GPtrArray) packages = NULL;
|
||||
@ -982,10 +983,11 @@ rpmostree_print_transaction (DnfContext *hifctx)
|
||||
-1);
|
||||
|
||||
if (packages->len > 0)
|
||||
empty = FALSE;
|
||||
|
||||
g_print ("Removing %u packages:\n", packages->len);
|
||||
print_pkglist (packages);
|
||||
{
|
||||
empty = FALSE;
|
||||
g_print ("Removing %u packages:\n", packages->len);
|
||||
print_pkglist (packages);
|
||||
}
|
||||
}
|
||||
|
||||
if (empty)
|
||||
|
Loading…
Reference in New Issue
Block a user