From e213640974336a7bb036c65ce510c71608dd14ba Mon Sep 17 00:00:00 2001 From: naturallaw77 Date: Sat, 2 Dec 2023 15:52:39 -0800 Subject: [PATCH] updated updater fix --- .../Update_Sovran_SystemsOS.sh | 16 +++++++++++++++- 1 file changed, 15 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 95e76b7..4e481e9 100755 --- a/Sovran_SystemsOS_Updater/Updater Source Files/Update_Sovran_SystemsOS.sh +++ b/Sovran_SystemsOS_Updater/Updater Source Files/Update_Sovran_SystemsOS.sh @@ -2,6 +2,20 @@ set -o nounset +systemctl is-system-running --wait + + if [[ $? -ne 0 ]]; then + + echo "Could Not Start Sovran_SystemsOS_Updater - Your Sovran Pro Is Still Booting Up - Try Again In A Few Moments" | + + zenity --text-info \ + --title="Sovran_SystemsOS Updater" \ + --width=500 \ + + exit 1 + + else + curl "https://git.sovransystems.com/Sovran_Systems/Software/raw/branch/main/Sovran_SystemsOS_Updater/Updater%20Source%20Files/Intro.md" | zenity --text-info \ @@ -91,5 +105,5 @@ zenity --info \ --text="Yay Complete! Please Reboot When You Are Ready." fi - +fi exit 0 \ No newline at end of file