updated updater fix

This commit is contained in:
naturallaw77 2023-12-04 01:11:34 -08:00
parent 79213219b3
commit 15028eacb0

View File

@ -2,12 +2,12 @@
set -o nounset
curl "https://git.sovransystems.com/Sovran_Systems/Software/raw/branch/main/Sovran_SystemsOS_Updater/Updater%20Source%20Files/Intro.md" |
zenity --text-info \
--title="Sovran_SystemsOS Updater" \
--html \
--url="https://git.sovransystems.com/Sovran_Systems/Software/raw/branch/main/Sovran_SystemsOS_Updater/Updater%20Source%20Files/Intro.md" \
--width=1000 \
--height=700
--height=700 \
--title="Sovran_SystemsOS Updater"
if [[ $? -eq 1 ]]; then
@ -17,12 +17,12 @@ set -o nounset
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"
zenity --info \
--width=400 \
--title="Sovran_SystemsOS Updater" \
--text="Could Not Update Sovran_SystemsOS -- Exiting"
exit 1
exit 1
fi