lib: run pre-remove and pre-install scripts before unpacking

This commit is contained in:
Duncan Overbruck committed 2021-06-26 18:41:37 +02:00
1 parent c94648630c
commit 02367e3c00
4 files changed
+57 -23

No files matched your search

+1
View File
@@ -165,6 +165,7 @@ state_cb(const struct xbps_state_cb_data *xscd, void *cbdata UNUSED)
printf("%s\n", xscd->desc);
break;
/* errors */
case XBPS_STATE_TRANS_FAIL:
case XBPS_STATE_UNPACK_FAIL:
case XBPS_STATE_UPDATE_FAIL:
case XBPS_STATE_CONFIGURE_FAIL: