libxbps: when replacing a pkg, also fully purge the pkg(s).

This commit is contained in:
Juan RP 2011-10-12 09:28:11 +02:00
parent ac5bc123b8
commit 20b0b4ce12

View File

@ -228,7 +228,7 @@ xbps_transaction_commit(prop_dictionary_t transd)
pkgver, rv);
goto out;
}
if (!update)
if (update)
continue;
RUN_TRANS_CB(XBPS_TRANS_STATE_PURGE,