X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=update-archive%2Fupdate-yum-archive.sh;h=4983186aceb98a30cce3ae79fea735401b88b2a8;hb=4cec2294f39e937980cfe92b50c454f9abe583ae;hp=a1a3fbd4e6fca321a07714a587ccb86e2d6a8a8a;hpb=de9d248a70f3fac16b81b0907e9002692b3e1178;p=git-tools-moved-to-github.git diff --git a/update-archive/update-yum-archive.sh b/update-archive/update-yum-archive.sh index a1a3fbd..4983186 100755 --- 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