From 10cc4878e97b7feaaaad7ab2a5f634b3dce586bc Mon Sep 17 00:00:00 2001 From: ewt Date: Thu, 11 Jun 1998 20:02:29 +0000 Subject: [PATCH] --justdb should tag files as normal CVS patchset: 2147 CVS date: 1998/06/11 20:02:29 --- lib/install.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/install.c b/lib/install.c index 4cefc5a..e3d187b 100644 --- a/lib/install.c +++ b/lib/install.c @@ -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); -- 2.7.4