updated updater fix

This commit is contained in:
naturallaw77 2023-12-04 01:23:02 -08:00
parent d923e8af84
commit 50c9fc366e

View File

@ -15,20 +15,13 @@ curl "https://git.sovransystems.com/Sovran_Systems/Software/raw/branch/main/Sovr
else else
xterm -fa 'Noto Mono' -fs 15 -fg white -bg black -e bash -c " 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 \
if ! ssh root@localhost 'flatpak update -y && cd /etc/nixos && nix flake update && nixos-rebuild switch --impure'; then --width=400 \
--title="Sovran_SystemsOS Updater" \
zenity --info \ --text="Could Not Update Sovran_SystemsOS -- Exiting"
--width=400 \ exit 1
--title="Sovran_SystemsOS Updater" \ fi"
--text="Could Not Update Sovran_SystemsOS -- Exiting"
exit 1
fi
"
zenity --info \ zenity --info \
--ellipsize \ --ellipsize \