vm: clean also downloaded packages on qvm-dom0-update --clean

This commit is contained in:
Marek Marczykowski 2011-09-14 20:11:23 +02:00
parent 415c1d282f
commit d1ab5f4e05

View File

@ -38,6 +38,7 @@ sed -i '/^reposdir\s*=/d' $DOM0_UPDATES_DIR/etc/yum.conf
if [ "x$CLEAN" = "1" ]; then
yum $OPTS clean all
rm -- $DOM0_UPDATES_DIR/packages/*
fi
if [ "x$PKGLIST" = "x" ]; then