From b3a334e68fda51fb7c3b768410d90d51d4e9bd26 Mon Sep 17 00:00:00 2001 From: naturallaw77 Date: Mon, 19 Jun 2023 12:54:55 -0700 Subject: [PATCH] updated updater source --- .../Update_Sovran_SystemsOS.sh | 23 +++++++++++-------- 1 file changed, 14 insertions(+), 9 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 1a04bce..37cd7af 100755 --- a/Sovran_SystemsOS_Updater/Updater Source Files/Update_Sovran_SystemsOS.sh +++ b/Sovran_SystemsOS_Updater/Updater Source Files/Update_Sovran_SystemsOS.sh @@ -6,10 +6,10 @@ ID=$(curl ifconfig.me) curl "https://git.sovransystems.com/Sovran_Systems/Software/raw/branch/main/Sovran_SystemsOS_Updater/Updater%20Source%20Files/Intro.md" | - zenity --text-info \ - --title="Sovran_SystemsOS Updater" \ - --width=1000 \ - --height=700 + zenity --text-info \ + --title="Sovran_SystemsOS Updater" \ + --width=1000 \ + --height=700 if [[ $? -eq 1 ]]; then @@ -17,13 +17,18 @@ curl "https://git.sovransystems.com/Sovran_Systems/Software/raw/branch/main/Sovr else -#id=$(curl ifconfig.me) + ssh -i /home/free/.ssh/sovranpro_login root@${ID} 'cd /etc/nixos; nix flake update' | - ssh -i /home/free/.ssh/sovranpro_login root@${ID} 'cd /etc/nixos; nix flake update' + zenity --progress \ + --no-cancel \ + --auto-close \ + --pulsate \ + --width=500 \ + --title="Sovran_SystemsOS Updater" if [[ $? != 0 ]]; then - echo "Could Not Update Flake -- Exiting" | + echo "Could Not Update Flake -- Exiting" | zenity --text-info \ --title="Sovran_SystemsOS Updater" \ @@ -44,7 +49,7 @@ curl "https://git.sovransystems.com/Sovran_Systems/Software/raw/branch/main/Sovr if [[ $? != 0 ]]; then - echo "Could Not Update Sovran_SystemsOS -- Exiting" | + echo "Could Not Update Sovran_SystemsOS -- Exiting" | zenity --text-info \ --title="Sovran_SystemsOS Updater" \ @@ -61,6 +66,6 @@ curl "https://git.sovransystems.com/Sovran_Systems/Software/raw/branch/main/Sovr --title="Sovran_SystemsOS Updater" \ --text="Yay Complete! Please Reboot When You Are Ready." -fi + fi exit 0 \ No newline at end of file