Skip to content
Snippets Groups Projects
Commit 61878841 authored by jurgenhaas's avatar jurgenhaas
Browse files

Fix selfupdate

parent 6093cfb1
No related branches found
No related tags found
No related merge requests found
......@@ -17,6 +17,7 @@ if [[ "$UPDATE" == *"setup:${NEWVERSION} not found"* ]]; then
echo "Version ${NEWVERSION} not found."
exit
fi
docker images
echo "Self update to version ${NEWVERSION} succeeded!"
echo ""
......
......@@ -3,9 +3,9 @@
cp /usr/local/bin/l3d /setup/l3d
cp /usr/local/bin/prepareMac4L3d /setup/prepareMac4L3d
if [ "${NEWVERSION}" = "" ]; then
docker pull registry.lakedrops.com/docker/l3d/run:${NEWVERSION} 2>&1
else
docker pull registry.lakedrops.com/docker/l3d/run:latest 2>&1
else
docker pull registry.lakedrops.com/docker/l3d/run:${NEWVERSION} 2>&1
fi
echo "L3D installed successfully!"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment