Quiet option for createrepo (YUM)
authorAdam Dickmeiss <adam@indexdata.dk>
Wed, 10 Jul 2013 13:21:44 +0000 (13:21 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Wed, 10 Jul 2013 13:21:44 +0000 (13:21 +0000)
update-archive/update-yum-archive.sh

index 4983186..6297ce5 100755 (executable)
@@ -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