mirror of
https://github.com/luzifer-docker/code-server.git
synced 2024-12-20 13:11:17 +00:00
Fix broken check in update-script
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
f82adc35c5
commit
13c645290c
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/v1/catalog/code-server/latest/version")
|
||||
grep -q "CODE_SERVER_VERSION=${version} " Dockerfile && exit 0 || echo "Update required"
|
||||
grep -q "CODE_SERVER_VERSION=${version}$" Dockerfile && exit 0 || echo "Update required"
|
||||
|
||||
sed -Ei \
|
||||
-e "s/CODE_SERVER_VERSION=[0-9.]+/CODE_SERVER_VERSION=${version}/" \
|
||||
|
|
Loading…
Reference in a new issue