vm: fix package cleaning

This commit is contained in:
Joanna Rutkowska 2011-09-14 20:19:53 +02:00
parent d1ab5f4e05
commit 4b3b0f4b88

View File

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