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
if ! ssh root@localhost 'flatpak update -y && cd /etc/nixos && nix flake update && nixos-rebuild switch --impure'; then
zenity --info \ zenity --info \
--width=400 \ --width=400 \
--title="Sovran_SystemsOS Updater" \ --title="Sovran_SystemsOS Updater" \
--text="Could Not Update Sovran_SystemsOS -- Exiting" --text="Could Not Update Sovran_SystemsOS -- Exiting"
exit 1 exit 1
fi"
fi
"
zenity --info \ zenity --info \
--ellipsize \ --ellipsize \