From 1e8d1b918bded213d630793ebdce4f01df2d7ef1 Mon Sep 17 00:00:00 2001 From: tangobravo14 Date: Thu, 7 Mar 2024 13:21:40 +0000 Subject: [PATCH] 13 --- AmRRON-Setup-Script.sh | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/AmRRON-Setup-Script.sh b/AmRRON-Setup-Script.sh index aa29c58..71d681b 100755 --- a/AmRRON-Setup-Script.sh +++ b/AmRRON-Setup-Script.sh @@ -131,19 +131,20 @@ function check_repo_version() { cd $DIR && git remote set-url origin https://gitlab.com/amrron/setup-scripts.git/ -GITSTATUS="$(git fetch --dry-run)" +GITSTATUS=$(git fetch --dry-run) +echo ${GITSTATUS} -if [[ "${GITSTATUS}" != '' ]]; then - echo "${GITSTATUS}" - echo - echo - echo "Your repo is out of date. Run the command 'git pull' in the setup-scripts \n - directory in order to pull the most recent updates and fixes for the script and then \n - re-run the script." -else - echo "Repository is up to date. Continuing with script" - sleep 3 -fi +#if [[ "${GITSTATUS}" != '' ]]; then +# echo "${GITSTATUS}" +# echo +# echo +# echo "Your repo is out of date. Run the command 'git pull' in the setup-scripts \n +# directory in order to pull the most recent updates and fixes for the script and then \n +# re-run the script." +#else +# echo "Repository is up to date. Continuing with script" +# sleep 3 +#fi }