From: Adam Dickmeiss Date: Wed, 10 Jul 2013 13:21:44 +0000 (+0000) Subject: Quiet option for createrepo (YUM) X-Git-Url: http://sru.miketaylor.org.uk/?a=commitdiff_plain;h=72e91155b5e14886d60c6f7154fbe00c3839d953;p=git-tools-moved-to-github.git Quiet option for createrepo (YUM) --- diff --git a/update-archive/update-yum-archive.sh b/update-archive/update-yum-archive.sh index 4983186..6297ce5 100755 --- a/update-archive/update-yum-archive.sh +++ b/update-archive/update-yum-archive.sh @@ -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