From 57789c6260ec3c1010221adb78f64a44de57d781 Mon Sep 17 00:00:00 2001 From: naturallaw77 Date: Fri, 1 Dec 2023 17:25:33 -0800 Subject: [PATCH] updated the updater --- .../Updater Source Files/Update_Sovran_SystemsOS.sh | 12 ++++-------- 1 file changed, 4 insertions(+), 8 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 8999081..7e5e703 100755 --- a/Sovran_SystemsOS_Updater/Updater Source Files/Update_Sovran_SystemsOS.sh +++ b/Sovran_SystemsOS_Updater/Updater Source Files/Update_Sovran_SystemsOS.sh @@ -3,11 +3,7 @@ set -o nounset -Domain=$(echo | cat /var/lib/domains/wordpress) - -ID=$(timeout S2 dig $Domain A +short) - -ID6=$(timeout 2 dig $Domain AAAA +short) +ID=$(echo | cat /var/lib/domains/wordpress) curl "https://git.sovransystems.com/Sovran_Systems/Software/raw/branch/main/Sovran_SystemsOS_Updater/Updater%20Source%20Files/Intro.md" | @@ -24,7 +20,7 @@ curl "https://git.sovransystems.com/Sovran_Systems/Software/raw/branch/main/Sovr else - ssh root@${ID} 'flatpak update -y' || ssh root@${ID6} 'flatpak update -y' | + ssh root@${ID} 'flatpak update -y' | zenity --progress \ --no-cancel \ @@ -47,7 +43,7 @@ curl "https://git.sovransystems.com/Sovran_Systems/Software/raw/branch/main/Sovr fi - ssh root@${ID} 'cd /etc/nixos; nix flake update' || ssh root@${ID6} 'cd /etc/nixos; nix flake update' | + ssh root@${ID} 'cd /etc/nixos; nix flake update' | zenity --progress \ --no-cancel \ @@ -69,7 +65,7 @@ curl "https://git.sovransystems.com/Sovran_Systems/Software/raw/branch/main/Sovr fi - ssh root@${ID} 'nixos-rebuild switch --impure' || ssh root@${ID6} 'nixos-rebuild switch --impure' | + ssh root@${ID} 'nixos-rebuild switch --impure' | zenity --progress \ --no-cancel \