From a694afbb488ee0c193d9b9b266c8b0255b038391 Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Wed, 14 Sep 2011 20:11:23 +0200 Subject: [PATCH] vm: clean also downloaded packages on qvm-dom0-update --clean --- common/qubes_download_dom0_updates.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/common/qubes_download_dom0_updates.sh b/common/qubes_download_dom0_updates.sh index eb2b2296..16fdc336 100755 --- a/common/qubes_download_dom0_updates.sh +++ b/common/qubes_download_dom0_updates.sh @@ -38,6 +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/* fi if [ "x$PKGLIST" = "x" ]; then