projects
/
git-tools-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de9d248
)
Get rid of createrepo warnings
author
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 8 Mar 2013 20:57:19 +0000
(20:57 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 8 Mar 2013 20:57:19 +0000
(20:57 +0000)
update-archive/update-yum-archive.sh
patch
|
blob
|
history
diff --git
a/update-archive/update-yum-archive.sh
b/update-archive/update-yum-archive.sh
index
a1a3fbd
..
4983186
100755
(executable)
--- a/
update-archive/update-yum-archive.sh
+++ b/
update-archive/update-yum-archive.sh
@@
-123,7
+123,10
@@
echo "Updating repository meta:"
for rdir in ${dirs_to_upd}; do
echo "Section ${rdir}"
if test -d $rdir && ls -A $rdir; then
- createrepo --update ${rdir}
+ # Get rid of createrepo warnings
+ # https://bugs.launchpad.net/ubuntu/+source/createrepo/+bug/530015
+ createrepo --update ${rdir} 2>&1 |
+ grep -v DeprecationWarning:|grep -v ' import'
if test -f ${rdir}/repodata/repomd.xml.asc; then
rm ${rdir}/repodata/repomd.xml.asc
fi