updated the Sovran_SystemsOS updater

This commit is contained in:
naturallaw77 2023-12-11 15:50:30 -08:00
parent 9bfa0d35d1
commit a2ec54b879

View File

@ -17,6 +17,15 @@ fi
SPICE () {
if ! xterm -T "Sovran_SystemsOS Updater" -fa 'Noto Mono' -fs 15 -fg white -bg black -e bash -c "ssh root@localhost 'cd /etc/nixos && nix flake update && nixos-rebuild switch --impure'" ; then
zenity --error \
--width=400 \
--title="Sovran_SystemsOS Updater" \
--text="Could not complete the update."
exit 1
else
zenity --info \
--ellipsize \
--no-wrap \
@ -26,15 +35,6 @@ zenity --info \
exit 1
else
zenity --error \
--width=400 \
--title="Sovran_SystemsOS Updater" \
--text="Could not complete the update."
exit 2
fi
}