From b945f03562a5a8c9b4f196c4bb4de4c65d1b5577 Mon Sep 17 00:00:00 2001 From: naturallaw77 Date: Tue, 5 Dec 2023 08:36:39 -0800 Subject: [PATCH] updated updater fix --- .../Update_Sovran_SystemsOS.sh | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 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 4a8746a..4e81c9a 100755 --- a/Sovran_SystemsOS_Updater/Updater Source Files/Update_Sovran_SystemsOS.sh +++ b/Sovran_SystemsOS_Updater/Updater Source Files/Update_Sovran_SystemsOS.sh @@ -15,18 +15,29 @@ if [[ $? -eq 1 ]]; then else if ! ssh root@localhost 'flatpak update -y' ; then + zenity --error - exit 1 + + exit 1 fi if ! ssh root@localhost 'cd /etc/nixos ; nix flake update ; nixos-rebuild switch --impure' ; then + zenity --error - exit 1 + + exit 1 fi fi +zenity --info \ + --ellipsize \ + --no-wrap \ + --width=400 \ + --title="Sovran_SystemsOS Updater" \ + --text="Yay Complete! Please Reboot When You Are Ready." + exit 0 \ No newline at end of file