From 30f93af75f93ba4f7ab214bb91fcafe4327d5a74 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Sat, 28 Sep 2019 13:42:45 +0200 Subject: [PATCH] Fix update check Signed-off-by: Knut Ahlers --- update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update.sh b/update.sh index 929aa05..5ac4767 100755 --- a/update.sh +++ b/update.sh @@ -10,7 +10,7 @@ git reset --hard origin/master ### ---- ### version=$(curl -s "https://lv.luzifer.io/catalog-api/yggdrasil/latest.txt?p=version") -grep -q "YGGDRASIL_VERSION=${version} " Dockerfile && exit 0 || echo "Update required" +grep -q "YGGDRASIL_VERSION=${version}" Dockerfile && exit 0 || echo "Update required" sed -Ei \ -e "s/YGGDRASIL_VERSION=[0-9.]+/YGGDRASIL_VERSION=${version}/" \