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 a34acba..6d3d3a1 100755 --- a/Sovran_SystemsOS_Updater/Updater Source Files/Update_Sovran_SystemsOS.sh +++ b/Sovran_SystemsOS_Updater/Updater Source Files/Update_Sovran_SystemsOS.sh @@ -1,7 +1,5 @@ #!/usr/bin/env bash -ssh=$(ssh root@localhost) - curl "https://git.sovransystems.com/Sovran_Systems/Software/raw/branch/main/Sovran_SystemsOS_Updater/Updater%20Source%20Files/Intro.md" | zenity --text-info \ @@ -15,7 +13,7 @@ if [[ $? -eq 1 ]]; then else - if ! $ssh 'flatpak update -y' ; then + if ! ssh root@localhost 'flatpak update -y' ; then zenity --error \ --title="Sovran_SystemsOS Updater" \ @@ -26,7 +24,7 @@ else fi - if ! $ssh 'cd /etc/nixos ; nix flake update ; nixos-rebuild switch --impure' ; then + if ! ssh root@localhost 'cd /etc/nixos ; nix flake update ; nixos-rebuild switch --impure' ; then zenity --error \ --title="Sovran_SystemsOS Updater" \