vm/qvm-dom0-update: fix typo in --clean option parsing
This commit is contained in:
parent
cf0b720c41
commit
a46676a14b
@ -36,7 +36,7 @@ fi
|
||||
mkdir -p $DOM0_UPDATES_DIR/etc
|
||||
sed -i '/^reposdir\s*=/d' $DOM0_UPDATES_DIR/etc/yum.conf
|
||||
|
||||
if [ "x$CLEAN" = "1" ]; then
|
||||
if [ "$CLEAN" = "1" ]; then
|
||||
yum $OPTS clean all
|
||||
rm -f $DOM0_UPDATES_DIR/packages/*
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user