bin/xbps-install: add the transaction_file states

This commit is contained in:
Duncaen 2019-06-16 17:40:31 +02:00 committed by Duncan Overbruck
parent 29f1433afd
commit a19c659616

View File

@ -53,6 +53,9 @@ state_cb(const struct xbps_state_cb_data *xscd, void *cbdata UNUSED)
case XBPS_STATE_TRANS_VERIFY:
printf("\n[*] Verifying package integrity\n");
break;
case XBPS_STATE_TRANS_FILES:
printf("\n[*] Collecting package files\n");
break;
case XBPS_STATE_TRANS_RUN:
printf("\n[*] Running transaction tasks\n");
break;
@ -72,6 +75,9 @@ state_cb(const struct xbps_state_cb_data *xscd, void *cbdata UNUSED)
case XBPS_STATE_VERIFY:
printf("%s\n", xscd->desc);
break;
case XBPS_STATE_FILES:
printf("%s\n", xscd->desc);
break;
case XBPS_STATE_CONFIG_FILE:
if (xscd->desc != NULL)
printf("%s\n", xscd->desc);
@ -164,6 +170,7 @@ state_cb(const struct xbps_state_cb_data *xscd, void *cbdata UNUSED)
case XBPS_STATE_CONFIGURE_FAIL:
case XBPS_STATE_REMOVE_FAIL:
case XBPS_STATE_VERIFY_FAIL:
case XBPS_STATE_FILES_FAIL:
case XBPS_STATE_DOWNLOAD_FAIL:
case XBPS_STATE_REPOSYNC_FAIL:
case XBPS_STATE_CONFIG_FILE_FAIL: