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