dom0-updates: fix cleaning downloaded packages

This commit is contained in:
Marek Marczykowski-Górecki 2016-07-15 11:27:35 +02:00
parent 8781a5c588
commit 40d5f85b36
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -77,7 +77,7 @@ rpm --root=$DOM0_UPDATES_DIR --rebuilddb
if [ "$CLEAN" = "1" ]; then if [ "$CLEAN" = "1" ]; then
$YUM $OPTS clean all $YUM $OPTS clean all
rm -f $DOM0_UPDATES_DIR/packages/* rm -f $DOM0_UPDATES_DIR/packages/*
rm -f $DOM0_UPDATES_DIR/var/cache/yum/* rm -rf $DOM0_UPDATES_DIR/var/cache/yum/*
fi fi
if [ "x$PKGLIST" = "x" ]; then if [ "x$PKGLIST" = "x" ]; then