updated updater fix

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

View File

@ -35,17 +35,10 @@ curl "https://git.sovransystems.com/Sovran_Systems/Software/raw/branch/main/Sovr
--width=500 \ --width=500 \
exit 1 exit 1
fi fi
ssh root@localhost 'cd /etc/nixos && nix flake update && nixos-rebuild switch --impure' | xterm -e bash -c "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"
if [[ $? -ne 0 ]]; then if [[ $? -ne 0 ]]; then