updated the updater

This commit is contained in:
naturallaw77 2023-12-01 17:25:33 -08:00
parent f296d93bc4
commit 57789c6260

View File

@ -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 \