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:
37256c4
)
remove filter function cr_is_primary to keep the same behavior as createrepo.
70/192870/2
author
biao716.wang
<biao716.wang@samsung.com>
Fri, 9 Nov 2018 09:12:05 +0000
(17:12 +0800)
committer
mao xiaojuan
<xiaojuan.mao@samsung.com>
Mon, 18 Feb 2019 02:29:04 +0000
(10:29 +0800)
Change-Id: Idecd3496c1d35d6d411ffd82acdd4649814dad13
src/parsehdr.c
patch
|
blob
|
history
diff --git
a/src/parsehdr.c
b/src/parsehdr.c
index 704b955da496cd2de348fe2927544a874f2ae8b8..4a8f0b8e92c458d12db7c3621f1e1fd4bf5fd84b 100644
(file)
--- a/
src/parsehdr.c
+++ b/
src/parsehdr.c
@@
-392,9
+392,10
@@
cr_package_from_header(Header hdr,
// Skip package primary files
if (*filename == '/' && g_hash_table_lookup_extended(filenames_hashtable, filename, NULL, NULL)) {
- if (cr_is_primary(filename)) {
+ //keep the same with createrepo behavior.
+ //if (cr_is_primary(filename)) {
continue;
- }
+
//
}
}
// Skip files which are provided