updated updater fix

This commit is contained in:
naturallaw77 2023-12-03 12:01:33 -08:00
parent 9765ccdbbb
commit a95b3b9eb8

View File

@ -38,14 +38,7 @@ curl "https://git.sovransystems.com/Sovran_Systems/Software/raw/branch/main/Sovr
fi
ssh root@localhost 'cd /etc/nixos && nix flake update && nixos-rebuild switch --impure' |
zenity --progress \
--auto-close \
--pulsate \
--width=500 \
--text="Updating Now - In Rare Cases, It Could Take Up To 3 Hours - Please Be Patient..." \
--title="Sovran_SystemsOS Updater"
xterm -e bash -c "ssh root@localhost 'cd /etc/nixos && nix flake update && nixos-rebuild switch --impure'"
if [[ $? -ne 0 ]]; then