updated updater fix

This commit is contained in:
naturallaw77 2023-12-04 09:45:07 -08:00
parent 844770d1a1
commit 16186724e3

View File

@ -15,15 +15,18 @@ 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
zenity --info \
--width=400 \
--title="Sovran_SystemsOS Updater" \
--text="Could Not Update Sovran_SystemsOS -- Exiting"
exit 1
fi
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'
if [[ $? -ne 0 ]]; then
zenity --info \
--width=400 \
--title="Sovran_SystemsOS Updater" \
--text="Could Not Update Sovran_SystemsOS -- Exiting"
exit 1
fi"
zenity --info \
--ellipsize \