updated the Sovran_SystemsOS updater

This commit is contained in:
naturallaw77 2023-12-11 15:27:08 -08:00
parent 07f3fff781
commit e1aff51b22

View File

@ -15,9 +15,7 @@ fi
}
SPICE () {
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'"
if [[ $? -eq 0 ]] ; then
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 --info \
--ellipsize \