vm/qvm-dom0-update: fix typo in --clean option parsing

This commit is contained in:
Marek Marczykowski 2011-09-15 00:14:13 +02:00
parent cf0b720c41
commit a46676a14b

View File

@ -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