projects
/
services
/
createrepo_c.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a206a5b
)
Fix is_primary function
author
Tomas Mlcoch
<tmlcoch@redhat.com>
Mon, 30 Jan 2012 08:27:01 +0000
(09:27 +0100)
committer
Tomas Mlcoch
<tmlcoch@redhat.com>
Mon, 30 Jan 2012 08:27:01 +0000
(09:27 +0100)
misc.c
patch
|
blob
|
history
diff --git
a/misc.c
b/misc.c
index
77f77dd
..
01e609f
100644
(file)
--- a/
misc.c
+++ b/
misc.c
@@
-133,6
+133,10
@@
int is_primary(const char *filename)
return 1;
}
+ if (!strncmp(filename, "/etc/", 5)) {
+ return 1;
+ }
+
if (!strncmp(filename, "/usr/", 5)) {
if (!strncmp(filename+5, "bin/", 4)) {
return 1;