From 7e5b0146ea956451b7732e3f4f71974977544298 Mon Sep 17 00:00:00 2001 From: naturallaw77 Date: Wed, 13 Mar 2024 20:52:49 -0700 Subject: [PATCH] update updater script --- .../Update_Sovran_SystemsOS.sh | 16 +--------------- 1 file changed, 1 insertion(+), 15 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 746bc7c..78fd5cc 100755 --- a/Sovran_SystemsOS_Updater/Updater Source Files/Update_Sovran_SystemsOS.sh +++ b/Sovran_SystemsOS_Updater/Updater Source Files/Update_Sovran_SystemsOS.sh @@ -16,7 +16,7 @@ fi SPICE () { -if ! ssh root@localhost 'cd /etc/nixos && nix flake update && nixos-rebuild switch --impure &> /home/free/Documents/Updater_App_Logs/'$time_stamp'_Updater_Log.txt' ; then +if ! ssh root@localhost 'cd /etc/nixos && nix flake update && nixos-rebuild switch --impure &> /home/free/Documents/Updater_App_Logs/'$time_stamp'_Updater_Log.txt | xterm -T "Sovran_SystemsOS_Light Updater" -fa 'Noto Mono' -fs 15 -fg white -bg black' ; then zenity --error \ --width=400 \ @@ -27,18 +27,6 @@ if ! ssh root@localhost 'cd /etc/nixos && nix flake update && nixos-rebuild swit else - - if ! ssh root@localhost 'cd /etc/nixos && nix flake update && nixos-rebuild switch --impure &> /home/free/Documents/Updater_App_Logs/'$time_stamp'_Updater_Log.txt' ; then - - zenity --error \ - --width=400 \ - --title="Sovran_SystemsOS Updater" \ - --text="Could not complete the Sovran_SystemsOS update." - - exit 1 - - else - zenity --info \ --ellipsize \ --no-wrap \ @@ -46,8 +34,6 @@ else --title="Sovran_SystemsOS Updater" \ --text="Yay complete! Please reboot when you are ready." - fi - fi }