Fixed regex

This commit is contained in:
redfast00 2018-08-12 11:43:49 +02:00
parent f2220626e7
commit 5088e09562
No known key found for this signature in database
GPG Key ID: 5946E0E34FD0553C
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ declare release_dir="$dir/releases/$timestamp"
# Pull latest revision
echo "-> Pulling latest release"
# Apparently, some systems put "up to date", while others put "up-to-date"
git pull | grep -q 'Already up-?to-?date.' && echo "No updates, exiting..." && exit 20
git pull | grep -q 'Already up[- ]to[- ]date.' && echo "No updates, exiting..." && exit 20
echo "-> Checking validity of data.json"
jsonlint src/data.json