update updater script

This commit is contained in:
naturallaw77 2024-03-13 20:52:49 -07:00
parent fb497df56c
commit 7e5b0146ea

View File

@ -16,7 +16,7 @@ fi
SPICE () {
if ! ssh root@localhost 'cd /etc/nixos && nix flake update && nixos-rebuild switch --impure &> /home/free/Documents/Updater_App_Logs/'$time_stamp'_Updater_Log.txt' ; then
if ! ssh root@localhost 'cd /etc/nixos && nix flake update && nixos-rebuild switch --impure &> /home/free/Documents/Updater_App_Logs/'$time_stamp'_Updater_Log.txt | xterm -T "Sovran_SystemsOS_Light Updater" -fa 'Noto Mono' -fs 15 -fg white -bg black' ; then
zenity --error \
--width=400 \
@ -27,18 +27,6 @@ if ! ssh root@localhost 'cd /etc/nixos && nix flake update && nixos-rebuild swit
else
if ! ssh root@localhost 'cd /etc/nixos && nix flake update && nixos-rebuild switch --impure &> /home/free/Documents/Updater_App_Logs/'$time_stamp'_Updater_Log.txt' ; then
zenity --error \
--width=400 \
--title="Sovran_SystemsOS Updater" \
--text="Could not complete the Sovran_SystemsOS update."
exit 1
else
zenity --info \
--ellipsize \
--no-wrap \
@ -46,8 +34,6 @@ else
--title="Sovran_SystemsOS Updater" \
--text="Yay complete! Please reboot when you are ready."
fi
fi
}