From ba8b940a386ec60bab9d1ce3c9cce7a1cbc6fd35 Mon Sep 17 00:00:00 2001 From: naturallaw77 Date: Mon, 4 Dec 2023 00:33:49 -0800 Subject: [PATCH] updated updater fix --- .../Update_Sovran_SystemsOS.sh | 20 +++++++++---------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/Sovran_SystemsOS_Updater/Updater Source Files/Update_Sovran_SystemsOS.sh b/Sovran_SystemsOS_Updater/Updater Source Files/Update_Sovran_SystemsOS.sh index c69d3f2..a263584 100755 --- a/Sovran_SystemsOS_Updater/Updater Source Files/Update_Sovran_SystemsOS.sh +++ b/Sovran_SystemsOS_Updater/Updater Source Files/Update_Sovran_SystemsOS.sh @@ -14,9 +14,8 @@ curl "https://git.sovransystems.com/Sovran_Systems/Software/raw/branch/main/Sovr exit 1 else - - if ! ssh root@localhost 'flatpak update -y' | + if ! ssh root@localhost 'flatpak update -y | zenity --progress \ --no-cancel \ @@ -24,16 +23,15 @@ curl "https://git.sovransystems.com/Sovran_Systems/Software/raw/branch/main/Sovr --pulsate \ --width=500 \ --text="Updating Flatpaks" \ - --title="Sovran_SystemsOS Updater"; then + --title="Sovran_SystemsOS Updater"'; then echo "Could Not Update Flatpaks -- Exiting" | zenity --text-info \ - --title="Sovran_SystemsOS Updater" \ - --width=500 \ - + --width=400 \ + --title="Sovran_SystemsOS Updater" exit 1 - + fi if ! xterm -fa 'Noto Mono' -fs 15 -fg white -bg black -e bash -c "ssh root@localhost 'cd /etc/nixos && nix flake update && nixos-rebuild switch --impure'"; then @@ -41,10 +39,10 @@ curl "https://git.sovransystems.com/Sovran_Systems/Software/raw/branch/main/Sovr echo "Could Not Update Sovran_SystemsOS -- Exiting" | zenity --text-info \ - --title="Sovran_SystemsOS Updater" \ - --width=500 \ - - exit 1 + --width=400 \ + --title="Sovran_SystemsOS Updater" + + exit 1 fi