From 20b0b4ce12bc59ea01eb385f2c2995ba51b61f7d Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 12 Oct 2011 09:28:11 +0200 Subject: [PATCH] libxbps: when replacing a pkg, also fully purge the pkg(s). --- lib/transaction_commit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/transaction_commit.c b/lib/transaction_commit.c index 977fe16d..3a2d9a1a 100644 --- a/lib/transaction_commit.c +++ b/lib/transaction_commit.c @@ -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,