From bbd3ee56663dd3fe30c2a8568ff502e633fc3441 Mon Sep 17 00:00:00 2001 From: tangobravo14 Date: Thu, 7 Mar 2024 13:37:47 +0000 Subject: [PATCH] 16 --- AmRRON-Setup-Script.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/AmRRON-Setup-Script.sh b/AmRRON-Setup-Script.sh index 48bc5ad..c10d4d1 100755 --- a/AmRRON-Setup-Script.sh +++ b/AmRRON-Setup-Script.sh @@ -130,8 +130,9 @@ echo "${ERRCODE}" >> /tmp/failures function check_repo_version() { cd $DIR && git remote set-url origin https://gitlab.com/amrron/setup-scripts.git/ +GITSTATUS=$(git fetch --dry-run | grep -o testing) -if [[ $(git fetch --dry-run) ]]; then +if [[ $GITSTATUS == "testing" ]]; then echo echo echo "Your repo is out of date. Run the command 'git pull' in the setup-scripts \n