clean yum cache on update action (#540)
This commit is contained in:
parent
4da2e33bf1
commit
1177a1d124
@ -1332,7 +1332,7 @@ class VmManagerWindow(Ui_VmManagerWindow, QMainWindow):
|
|||||||
def do_update_vm(self, vm, thread_monitor):
|
def do_update_vm(self, vm, thread_monitor):
|
||||||
try:
|
try:
|
||||||
if vm.qid == 0:
|
if vm.qid == 0:
|
||||||
subprocess.check_call (["/usr/bin/qubes-dom0-update", "--gui"])
|
subprocess.check_call (["/usr/bin/qubes-dom0-update", "--clean", "--gui"])
|
||||||
else:
|
else:
|
||||||
vm.run("user:gpk-update-viewer", verbose=False, autostart=True)
|
vm.run("user:gpk-update-viewer", verbose=False, autostart=True)
|
||||||
except Exception as ex:
|
except Exception as ex:
|
||||||
|
Loading…
Reference in New Issue
Block a user