Give the user chance to read final meesages after installing updates (#982)
xterm closes itself immediatelly when the specified command ends, so wait for user reaction to give a chance to read the message (potentially some error info). Also add some more meaningful window title. QubesOS/qubes-issues#982
This commit is contained in:
parent
3ba1a990df
commit
dfd355fe71
@ -1378,8 +1378,9 @@ class VmManagerWindow(Ui_VmManagerWindow, QMainWindow):
|
|||||||
"yum update; " \
|
"yum update; " \
|
||||||
"else " \
|
"else " \
|
||||||
"apt-get update && apt-get -V dist-upgrade;" \
|
"apt-get update && apt-get -V dist-upgrade;" \
|
||||||
"fi"
|
"fi;" \
|
||||||
vm.run("xterm -e sudo sh -c '{}';"
|
"echo Done. Press Enter to exit.; read x"
|
||||||
|
vm.run("xterm -title update -e sudo sh -c '{}';"
|
||||||
"sudo service qubes-update-check start".
|
"sudo service qubes-update-check start".
|
||||||
format(update_command),
|
format(update_command),
|
||||||
**vm_run_common_args)
|
**vm_run_common_args)
|
||||||
|
Loading…
Reference in New Issue
Block a user