updated updater fix

This commit is contained in:
naturallaw77 2023-12-04 08:28:54 -08:00
parent af1803c7bc
commit 03e4d3e078

View File

@ -15,7 +15,13 @@ curl "https://git.sovransystems.com/Sovran_Systems/Software/raw/branch/main/Sovr
else
if ! xterm -fa 'Noto Mono' -fs 15 -fg white -bg black -e bash -c "ssh root@localhost 'flatpak update -y && cd /etc/nixos && nix flake update && nixos-rebuild switch --impure'"; then
if ! zenity --progress --pulsate; then
exit 1
else
xterm -fa 'Noto Mono' -fs 15 -fg white -bg black -e bash -c $(if ! ssh root@localhost 'flatpak update -y && cd /etc/nixos && nix flake update && nixos-rebuild switch --impure'; then
zenity --info \
--width=400 \
--title="Sovran_SystemsOS Updater" \
@ -25,12 +31,19 @@ curl "https://git.sovransystems.com/Sovran_Systems/Software/raw/branch/main/Sovr
fi
fi
zenity --info \
--ellipsize \
--no-wrap \
--width=400 \
--title="Sovran_SystemsOS Updater" \
--text="Yay Complete! Please Reboot When You Are Ready."
--text="Yay Complete! Please Reboot When You Are Ready.")
fi
exit 0