X-Git-Url: http://lists.indexdata.dk/cgi-bin?a=blobdiff_plain;f=update-archive%2Fupdate-yum-archive.sh;h=34ab5dcbd517a96dea8cef79783e836d0ed27c44;hb=6e6bc76113aa5183986b671e7a79102c2f7cf31f;hp=4983186aceb98a30cce3ae79fea735401b88b2a8;hpb=4cec2294f39e937980cfe92b50c454f9abe583ae;p=git-tools-moved-to-github.git diff --git a/update-archive/update-yum-archive.sh b/update-archive/update-yum-archive.sh index 4983186..34ab5dc 100755 --- a/update-archive/update-yum-archive.sh +++ b/update-archive/update-yum-archive.sh @@ -31,7 +31,7 @@ signage=8000 confdir=`pwd` architectures="i386 x86_64" dirs_to_upd="" -for vdist in centos/5.5 rhel/5.5 centos/6; do +for vdist in centos/5.5 rhel/5.5 centos/6 centos/7; do dist=`basename $vdist` vendor=`dirname $vdist` ftpdir=/home/ftp/pub/yum/$vendor/$dist @@ -125,7 +125,7 @@ for rdir in ${dirs_to_upd}; do if test -d $rdir && ls -A $rdir; then # Get rid of createrepo warnings # https://bugs.launchpad.net/ubuntu/+source/createrepo/+bug/530015 - createrepo --update ${rdir} 2>&1 | + createrepo -q --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