From 9e561fb045f8bd759e15bb64a29ef77c1efbe205 Mon Sep 17 00:00:00 2001 From: naturallaw77 Date: Mon, 4 Dec 2023 01:28:09 -0800 Subject: [PATCH] updated updater fix --- .../Updater Source Files/Update_Sovran_SystemsOS.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 fbff0c0..6ce2021 100755 --- a/Sovran_SystemsOS_Updater/Updater Source Files/Update_Sovran_SystemsOS.sh +++ b/Sovran_SystemsOS_Updater/Updater Source Files/Update_Sovran_SystemsOS.sh @@ -15,13 +15,13 @@ curl "https://git.sovransystems.com/Sovran_Systems/Software/raw/branch/main/Sovr else - xterm -fa 'Noto Mono' -fs 15 -fg white -bg black -e bash -c "if ! ssh root@localhost 'flatpak update -y && cd /etc/nixos && nix flake update && nixos-rebuild switch --impure; then + xterm -fa 'Noto Mono' -fs 15 -fg white -bg black -e bash -c $(if ! ssh root@localhost 'flatpak update -y && cd /etc/nixos && nix flake update && nixos-rebuild switch --impure'; then zenity --info \ --width=400 \ --title="Sovran_SystemsOS Updater" \ --text="Could Not Update Sovran_SystemsOS -- Exiting" exit 1 - fi'" + fi) zenity --info \ --ellipsize \