projects
/
tools
/
librpm-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
886e17e
)
ignore config bit for direcrroies
author
ewt
<devnull@localhost>
Tue, 15 Apr 1997 14:42:12 +0000
(14:42 +0000)
committer
ewt
<devnull@localhost>
Tue, 15 Apr 1997 14:42:12 +0000
(14:42 +0000)
CVS patchset: 1540
CVS date: 1997/04/15 14:42:12
lib/install.c
patch
|
blob
|
history
diff --git
a/lib/install.c
b/lib/install.c
index
b3123d7
..
e1cc002
100644
(file)
--- a/
lib/install.c
+++ b/
lib/install.c
@@
-1091,6
+1091,11
@@
static enum instActions decideFileFate(char * filespec, short dbMode,
dbWhat = whatis(dbMode);
newWhat = whatis(newMode);
+ /* RPM >= 2.3.10 shouldn't create config directories -- we'll ignore
+ them in older packages as well */
+ if (newWhat == XDIR)
+ return CREATE;
+
if (diskWhat != newWhat) {
rpmMessage(RPMMESS_DEBUG, " file type on disk is different then package - "
"saving\n");