don't back up directories marked as config files, even if they already
exist CVS patchset: 446 CVS date: 1996/03/01 03:28:33
This commit is contained in:
parent
cd07a9b057
commit
00377d6ae5
|
@ -223,7 +223,8 @@ int rpmInstallPackage(char * prefix, rpmdb db, int fd, int flags,
|
|||
prefixedFileList[i] = fileList[i];
|
||||
|
||||
instActions[i] = CREATE;
|
||||
if (fileFlagsList[i] & RPMFILE_CONFIG) {
|
||||
if ((fileFlagsList[i] & RPMFILE_CONFIG) &&
|
||||
!S_ISDIR(fileModesList[i])) {
|
||||
if (exists(prefixedFileList[i])) {
|
||||
message(MESS_DEBUG, "%s exists - backing up\n",
|
||||
prefixedFileList[i]);
|
||||
|
|
Loading…
Reference in New Issue