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