diff options
author | jbj <devnull@localhost> | 2001-01-29 22:53:48 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2001-01-29 22:53:48 +0000 |
commit | d8b44a5d651e009760ed47f5802aeb3e325552cc (patch) | |
tree | 95c046899232fc3846a98114b0eb795529bdb415 /lib/transaction.c | |
parent | f684f63a728fb00af75c3122d2e4f808737459f7 (diff) | |
download | librpm-tizen-d8b44a5d651e009760ed47f5802aeb3e325552cc.tar.gz librpm-tizen-d8b44a5d651e009760ed47f5802aeb3e325552cc.tar.bz2 librpm-tizen-d8b44a5d651e009760ed47f5802aeb3e325552cc.zip |
Commit to install file state machine.
CVS patchset: 4509
CVS date: 2001/01/29 22:53:48
Diffstat (limited to 'lib/transaction.c')
-rw-r--r-- | lib/transaction.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/lib/transaction.c b/lib/transaction.c index 84b1802a2..8f8831fc3 100644 --- a/lib/transaction.c +++ b/lib/transaction.c @@ -1688,26 +1688,6 @@ int rpmRunTransactions( rpmTransactionSet ts, } /* =============================================== - * Save removed files before upgrading. - */ - if (ts->transFlags & (RPMTRANS_FLAG_DIRSTASH | RPMTRANS_FLAG_REPACKAGE)) { - i = -2; - for (oc = 0, fi = flList; oc < ts->orderCount; oc++, fi++) { - switch (ts->order[oc].type) { - case TR_ADDED: - i = ts->order[oc].u.addedIndex; - break; - case TR_REMOVED: - if (ts->order[oc].u.removed.dependsOnIndex != i) - break; - if (ts->transFlags & RPMTRANS_FLAG_DIRSTASH) - dirstashPackage(ts, fi, ROLLBACK_SAVE); - break; - } - } - } - - /* =============================================== * Install and remove packages. */ |