From efda8bfa9964a869a720bc5adeff7870f177fbaf Mon Sep 17 00:00:00 2001 From: naturallaw77 Date: Tue, 12 Dec 2023 08:54:58 -0800 Subject: [PATCH] updated the updaters to remove error notificaiton as it cannot be done --- .../Update_Sovran_SystemsOS_Light.sh | 11 +---------- .../Updater Source Files/Update_Sovran_SystemsOS.sh | 11 +---------- 2 files changed, 2 insertions(+), 20 deletions(-) diff --git a/Sovran_SystemsOS_Light_Updater/Updater Source Files/Update_Sovran_SystemsOS_Light.sh b/Sovran_SystemsOS_Light_Updater/Updater Source Files/Update_Sovran_SystemsOS_Light.sh index e4a00b8..d515b43 100755 --- a/Sovran_SystemsOS_Light_Updater/Updater Source Files/Update_Sovran_SystemsOS_Light.sh +++ b/Sovran_SystemsOS_Light_Updater/Updater Source Files/Update_Sovran_SystemsOS_Light.sh @@ -14,16 +14,7 @@ fi } SPICE () { -if ! xterm -T "Sovran_SystemsOS_Light Updater" -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 - - zenity --error \ - --width=400 \ - --title="Sovran_SystemsOS_Light Updater" \ - --text="Could not complete the update." - - exit 1 - -else +if xterm -T "Sovran_SystemsOS_Light Updater" -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 zenity --info \ --ellipsize \ 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 644501c..82c9890 100755 --- a/Sovran_SystemsOS_Updater/Updater Source Files/Update_Sovran_SystemsOS.sh +++ b/Sovran_SystemsOS_Updater/Updater Source Files/Update_Sovran_SystemsOS.sh @@ -15,16 +15,7 @@ fi } SPICE () { -if ! xterm -T "Sovran_SystemsOS Updater" -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 - - zenity --error \ - --width=400 \ - --title="Sovran_SystemsOS Updater" \ - --text="Could not complete the update." - - exit 1 - -else +if xterm -T "Sovran_SystemsOS Updater" -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 zenity --info \ --ellipsize \