xbps-bin: dry-run: add binary pkg filename prop to the output.
This commit is contained in:
@@ -67,7 +67,7 @@ static void
|
||||
show_actions(prop_object_iterator_t iter)
|
||||
{
|
||||
prop_object_t obj;
|
||||
const char *repoloc, *trans, *pkgname, *version;
|
||||
const char *repoloc, *trans, *pkgname, *version, *fname;
|
||||
|
||||
while ((obj = prop_object_iterator_next(iter)) != NULL) {
|
||||
prop_dictionary_get_cstring_nocopy(obj, "transaction", &trans);
|
||||
@@ -76,7 +76,11 @@ show_actions(prop_object_iterator_t iter)
|
||||
printf("%s %s %s", pkgname, trans, version);
|
||||
if (prop_dictionary_get_cstring_nocopy(obj,
|
||||
"repository", &repoloc))
|
||||
printf(" %s", repoloc);
|
||||
printf(" %s ", repoloc);
|
||||
if (prop_dictionary_get_cstring_nocopy(obj,
|
||||
"filename", &fname))
|
||||
printf("%s", fname);
|
||||
|
||||
printf("\n");
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user