if test -d $rdir && ls -A $rdir; then
# Get rid of createrepo warnings
# https://bugs.launchpad.net/ubuntu/+source/createrepo/+bug/530015
if test -d $rdir && ls -A $rdir; then
# Get rid of createrepo warnings
# https://bugs.launchpad.net/ubuntu/+source/createrepo/+bug/530015
grep -v DeprecationWarning:|grep -v ' import'
if test -f ${rdir}/repodata/repomd.xml.asc; then
rm ${rdir}/repodata/repomd.xml.asc
grep -v DeprecationWarning:|grep -v ' import'
if test -f ${rdir}/repodata/repomd.xml.asc; then
rm ${rdir}/repodata/repomd.xml.asc