vm/qvm-dom0-update: fix typo in --clean option parsing
This commit is contained in:
parent
8b94ee302d
commit
0970a2490c
@ -36,7 +36,7 @@ fi
|
|||||||
mkdir -p $DOM0_UPDATES_DIR/etc
|
mkdir -p $DOM0_UPDATES_DIR/etc
|
||||||
sed -i '/^reposdir\s*=/d' $DOM0_UPDATES_DIR/etc/yum.conf
|
sed -i '/^reposdir\s*=/d' $DOM0_UPDATES_DIR/etc/yum.conf
|
||||||
|
|
||||||
if [ "x$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/*
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user