mirror of
https://github.com/luzifer-docker/yggdrasil.git
synced 2024-12-20 15:51:17 +00:00
Fix update check
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
a45d1beda1
commit
30f93af75f
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ git reset --hard origin/master
|
||||||
### ---- ###
|
### ---- ###
|
||||||
|
|
||||||
version=$(curl -s "https://lv.luzifer.io/catalog-api/yggdrasil/latest.txt?p=version")
|
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 \
|
sed -Ei \
|
||||||
-e "s/YGGDRASIL_VERSION=[0-9.]+/YGGDRASIL_VERSION=${version}/" \
|
-e "s/YGGDRASIL_VERSION=[0-9.]+/YGGDRASIL_VERSION=${version}/" \
|
||||||
|
|
Loading…
Reference in a new issue