From 3ba451f1e3635df56bc499da5a113b08ac9aaef1 Mon Sep 17 00:00:00 2001 From: naturallaw77 Date: Wed, 13 Mar 2024 20:18:43 -0700 Subject: [PATCH] update updater script --- .../Updater Source Files/Update_Sovran_SystemsOS.sh | 3 +++ 1 file changed, 3 insertions(+) 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 56cb465..dde1440 100755 --- a/Sovran_SystemsOS_Updater/Updater Source Files/Update_Sovran_SystemsOS.sh +++ b/Sovran_SystemsOS_Updater/Updater Source Files/Update_Sovran_SystemsOS.sh @@ -28,6 +28,7 @@ if ! ssh root@localhost 'cd /etc/nixos && nix flake update' ; then exit 1 +fi if ! ssh root@localhost 'nixos-rebuild dry-activate --impure' ; then @@ -39,6 +40,8 @@ if ! ssh root@localhost 'nixos-rebuild dry-activate --impure' ; then exit 1 +fi + if ! ssh root@localhost 'nixos-rebuild switch --impure &> /home/free/Documents/Updater_App_Logs/'$time_stamp'_Updater_Log.txt' ; then