--justdb should tag files as normal
authorewt <devnull@localhost>
Thu, 11 Jun 1998 20:02:29 +0000 (20:02 +0000)
committerewt <devnull@localhost>
Thu, 11 Jun 1998 20:02:29 +0000 (20:02 +0000)
CVS patchset: 2147
CVS date: 1998/06/11 20:02:29

lib/install.c

index 4cefc5a..e3d187b 100644 (file)
@@ -892,7 +892,7 @@ int rpmInstallPackage(char * rootdir, rpmdb db, int fd,
        if (headerGetEntry(h, RPMTAG_FILENAMES, NULL, (void **) &fileNames,
                           &fileCount)) {
            fileStates = malloc(sizeof(*fileStates) * fileCount);
-           memset(fileStates, RPMFILE_STATE_NOTINSTALLED, fileCount);
+           memset(fileStates, RPMFILE_STATE_NORMAL, fileCount);
            headerAddEntry(h, RPMTAG_FILESTATES, RPM_CHAR_TYPE, fileStates, 
                            fileCount);
            free(fileStates);