From 15bd819b0bb1c76453bdb6d459ff028af4de8e6d Mon Sep 17 00:00:00 2001 From: ewt Date: Tue, 27 May 1997 14:01:45 +0000 Subject: [PATCH] don't backup config files on netsharedpaths CVS patchset: 1662 CVS date: 1997/05/27 14:01:45 --- lib/install.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/install.c b/lib/install.c index ac551a8..fc903c2 100644 --- a/lib/install.c +++ b/lib/install.c @@ -851,6 +851,10 @@ static int instHandleSharedFiles(rpmdb db, int ignoreOffset, replacedList = malloc(sizeof(*replacedList) * numReplacedAlloced); for (i = 0; i < sharedCount; i++) { + /* if a file isn't going to be installed it doesn't matter who + it's shared with */ + if (!files[sharedList[i].mainFileNumber].install) continue; + if (secOffset != sharedList[i].secRecOffset) { if (secOffset) { headerFree(sech); -- 2.7.4