libxbps: print in verbose mode what pkgs are added to the transaction.
Useful to know why a transaction cannot be completed when there are unresolved reverse dependencies. Requested by @chris2.
This commit is contained in:
@@ -65,6 +65,10 @@ state_cb(const struct xbps_state_cb_data *xscd, void *cbdata _unused)
|
||||
case XBPS_STATE_REPOSYNC:
|
||||
printf("[*] Updating `%s' ...\n", xscd->arg);
|
||||
break;
|
||||
case XBPS_STATE_TRANS_ADDPKG:
|
||||
if (xscd->xhp->flags & XBPS_FLAG_VERBOSE)
|
||||
printf("%s\n", xscd->desc);
|
||||
break;
|
||||
case XBPS_STATE_VERIFY:
|
||||
printf("%s\n", xscd->desc);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user