From 72e91155b5e14886d60c6f7154fbe00c3839d953 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 10 Jul 2013 13:21:44 +0000 Subject: [PATCH] Quiet option for createrepo (YUM) --- update-archive/update-yum-archive.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 1.7.10.4