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

Debugging

parent 46c38df2
No related branches found
Tags v2.3.0
No related merge requests found
......@@ -12,7 +12,7 @@ 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
......
......@@ -3,9 +3,13 @@
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:latest 2>&1
echo "Loading latest"
docker pull registry.lakedrops.com/docker/l3d/run:latest
#2>&1
else
docker pull registry.lakedrops.com/docker/l3d/run:${NEWVERSION} 2>&1
echo "Loading ${NEWVERSION}"
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