clean yum cache on update action (#540)

This commit is contained in:
Marek Marczykowski 2012-06-19 22:58:49 +02:00
parent 4da2e33bf1
commit 1177a1d124

View File

@ -1332,7 +1332,7 @@ class VmManagerWindow(Ui_VmManagerWindow, QMainWindow):
def do_update_vm(self, vm, thread_monitor):
try:
if vm.qid == 0:
subprocess.check_call (["/usr/bin/qubes-dom0-update", "--gui"])
subprocess.check_call (["/usr/bin/qubes-dom0-update", "--clean", "--gui"])
else:
vm.run("user:gpk-update-viewer", verbose=False, autostart=True)
except Exception as ex: