From 9372202d198a37e34c51a9a40733bc68421536cd Mon Sep 17 00:00:00 2001 From: deeplow <47065258+deeplow@users.noreply.github.com> Date: Wed, 17 Jan 2024 14:07:23 -0500 Subject: [PATCH] Replace gnome-terminal starting with "qvm-start" Since this script is non-interactive, there's no need to start a gnome-terminal for the user to type commands. Implemented per Marek's suggestion [1]. This was replaced with `qvm-start`. [1]: https://github.com/QubesOS/qubes-issues/issues/8605#issuecomment-1771378749 --- deb_upgrader.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deb_upgrader.sh b/deb_upgrader.sh index 9bc4649..fbecdc1 100644 --- a/deb_upgrader.sh +++ b/deb_upgrader.sh @@ -38,7 +38,7 @@ upgrade_template() { fi message "Upgrading $new_template_name" - qvm-run -a $new_template_name gnome-terminal + qvm-start $new_template_name message "Updating APT repositories..." qvm-run -p $new_template_name "sudo sed -i 's/$old_name/$new_name/g' /etc/apt/sources.list"