dom0-updates: fix cleaning downloaded packages
This commit is contained in:
parent
8781a5c588
commit
40d5f85b36
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user