xbps-install/state_cb.c: do not treat XBPS_STATE_DOWNLOAD always as an error.

This commit is contained in:
Juan RP 2014-07-03 08:33:37 +02:00
parent b63cc62e3d
commit 9349e5fc40

View File

@ -82,6 +82,7 @@ state_cb(struct xbps_state_cb_data *xscd, void *cbdata _unused)
printf("%s: unpacking ...\n", xscd->arg); printf("%s: unpacking ...\n", xscd->arg);
break; break;
case XBPS_STATE_INSTALL: case XBPS_STATE_INSTALL:
case XBPS_STATE_DOWNLOAD:
/* empty */ /* empty */
break; break;
case XBPS_STATE_UPDATE: case XBPS_STATE_UPDATE: