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

Debugging

parent e4e55e81
No related branches found
Tags v2.4.1 v2.4.2
No related merge requests found
......@@ -12,13 +12,11 @@ if [[ "$NEWVERSION" == "" ]]; then
fi
echo "Loading new version ..."
UPDATE=$(docker run -v ${SCRIPTPATH}:/setup --rm registry.lakedrops.com/docker/l3d/setup:${NEWVERSION})
# 2>&1)
UPDATE=$(docker run -v ${SCRIPTPATH}:/setup --rm registry.lakedrops.com/docker/l3d/setup:${NEWVERSION} 2>&1)
if [[ "$UPDATE" == *"setup:${NEWVERSION} not found"* ]]; then
echo "Version ${NEWVERSION} not found."
exit
fi
docker images
echo "Self update to version ${NEWVERSION} succeeded!"
echo ""
......@@ -37,6 +35,7 @@ echo ""
echo ""
echo ""
docker pull registry.lakedrops.com/docker/l3d/run:${NEWVERSION} 2>&1
export L3DVERSION=${NEWVERSION}
export L3D_FORCE_UPDATE=0
/usr/local/bin/reset
......@@ -2,15 +2,6 @@
cp /usr/local/bin/l3d /setup/l3d
cp /usr/local/bin/prepareMac4L3d /setup/prepareMac4L3d
if [ "${NEWVERSION}" = "" ]; then
echo "Loading latest"
docker pull registry.lakedrops.com/docker/l3d/run:latest
#2>&1
else
echo "Loading ${NEWVERSION}"
docker pull registry.lakedrops.com/docker/l3d/run:${NEWVERSION}
#2>&1
fi
echo "L3D installed successfully!"
echo ""
......
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