Get rid of pkg state half-unpacked; not-installed state is good enough.

This commit is contained in:
Juan RP
2012-11-11 09:42:30 +01:00
parent d6735d5685
commit df0d5d7330
5 changed files with 3 additions and 20 deletions

View File

@@ -174,8 +174,7 @@ transaction_find_pkg(struct xbps_handle *xhp,
if (state == XBPS_PKG_STATE_UNPACKED)
reason = "configure";
else if (state == XBPS_PKG_STATE_NOT_INSTALLED ||
state == XBPS_PKG_STATE_HALF_UNPACKED)
else if (state == XBPS_PKG_STATE_NOT_INSTALLED)
reason = "install";
/*