vm: clean also downloaded packages on qvm-dom0-update --clean
This commit is contained in:
parent
0044064037
commit
a694afbb48
@ -38,6 +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/*
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "x$PKGLIST" = "x" ]; then
|
if [ "x$PKGLIST" = "x" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user