don't be too clever -- skipping file creation because it'll be created
authorewt <devnull@localhost>
Wed, 17 Feb 1999 03:46:57 +0000 (03:46 +0000)
committerewt <devnull@localhost>
Wed, 17 Feb 1999 03:46:57 +0000 (03:46 +0000)
later in the transaction ignores the needs of %post scripts <sigh>

CVS patchset: 2800
CVS date: 1999/02/17 03:46:57

lib/transaction.c

index b56291a..2f2a33f 100644 (file)
@@ -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) {