Explorar el Código

Added timestamp check to wget to reduce bandwidth.

root hace 7 años
padre
commit
d2883dd63f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      entrypoint.sh

+ 1 - 1
entrypoint.sh

@@ -8,7 +8,7 @@ if [ -z "$MINECRAFT_VERSION" ]; then
 fi
 
 # Download Minecraft client .jar (Contains textures used by Minecraft Overviewer)
-wget https://s3.amazonaws.com/Minecraft.Download/versions/${MINECRAFT_VERSION}/${MINECRAFT_VERSION}.jar -P /home/minecraft/.minecraft/versions/${MINECRAFT_VERSION}/
+wget -N https://s3.amazonaws.com/Minecraft.Download/versions/${MINECRAFT_VERSION}/${MINECRAFT_VERSION}.jar -P /home/minecraft/.minecraft/versions/${MINECRAFT_VERSION}/
 
 # Run the world renders (One pass to make map, one to generate points of interests)
 overviewer.py --config /home/minecraft/config.py