From 0b89cb1ccca52d685c0b52bf224e82b304cc2bc2 Mon Sep 17 00:00:00 2001 From: Joanna Rutkowska Date: Wed, 14 Sep 2011 20:19:53 +0200 Subject: [PATCH] vm: fix package cleaning --- common/qubes_download_dom0_updates.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/qubes_download_dom0_updates.sh b/common/qubes_download_dom0_updates.sh index 16fdc336..a7961b40 100755 --- a/common/qubes_download_dom0_updates.sh +++ b/common/qubes_download_dom0_updates.sh @@ -38,7 +38,7 @@ sed -i '/^reposdir\s*=/d' $DOM0_UPDATES_DIR/etc/yum.conf if [ "x$CLEAN" = "1" ]; then yum $OPTS clean all - rm -- $DOM0_UPDATES_DIR/packages/* + rm -f $DOM0_UPDATES_DIR/packages/* fi if [ "x$PKGLIST" = "x" ]; then