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