From 35181a20e9aa6713842d6bafb1b2772c9ea90386 Mon Sep 17 00:00:00 2001 From: naturallaw77 Date: Wed, 13 Mar 2024 21:07:20 -0700 Subject: [PATCH] update updater script --- .../Updater Source Files/Update_Sovran_SystemsOS.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Sovran_SystemsOS_Updater/Updater Source Files/Update_Sovran_SystemsOS.sh b/Sovran_SystemsOS_Updater/Updater Source Files/Update_Sovran_SystemsOS.sh index 384f8e7..3edabf3 100755 --- a/Sovran_SystemsOS_Updater/Updater Source Files/Update_Sovran_SystemsOS.sh +++ b/Sovran_SystemsOS_Updater/Updater Source Files/Update_Sovran_SystemsOS.sh @@ -16,7 +16,11 @@ fi SPICE () { -if ! ssh root@localhost 'cd /etc/nixos && nix flake update && nixos-rebuild switch --impure | xterm' ; then + time_stamp=$(date +%Y-%m-%d-%T) + + mkdir -p /home/free/Documents/Updater_App_Logs + + if ! xterm -T "Sovran_SystemsOS_Light 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 \