--justdb should tag files as normal
CVS patchset: 2147 CVS date: 1998/06/11 20:02:29
This commit is contained in:
parent
1c35d8d6d7
commit
10cc4878e9
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue