From: ewt Date: Wed, 17 Feb 1999 03:46:57 +0000 (+0000) Subject: don't be too clever -- skipping file creation because it'll be created X-Git-Tag: rpm-4.4-release~3113 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c361b1f1efafcf9f4c14ea81be82e69a7700dbcc;p=platform%2Fupstream%2Frpm.git don't be too clever -- skipping file creation because it'll be created later in the transaction ignores the needs of %post scripts CVS patchset: 2800 CVS date: 1999/02/17 03:46:57 --- diff --git a/lib/transaction.c b/lib/transaction.c index b56291a..2f2a33f 100644 --- a/lib/transaction.c +++ b/lib/transaction.c @@ -927,9 +927,8 @@ void handleOverlappedFiles(struct fileInfo * fi, hashTable ht, /* FIXME: is this right??? it locks us into the config file handling choice we already made, which may very - well be exactly right. */ - fi->actions[i] = recs[otherPkgNum]->actions[otherFileNum]; - recs[otherPkgNum]->actions[otherFileNum] = SKIP; + well be exactly right. What about noreplace files?? */ + fi->actions[i] = CREATE; } else if (fi->type == REMOVED && otherPkgNum >= 0) { fi->actions[i] = SKIP; } else if (fi->type == REMOVED) {