--justdb should tag files as normal

CVS patchset: 2147
CVS date: 1998/06/11 20:02:29
This commit is contained in:
ewt 1998-06-11 20:02:29 +00:00
parent 1c35d8d6d7
commit 10cc4878e9
1 changed files with 1 additions and 1 deletions

View 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);