diff --git a/entrypoint.sh b/entrypoint.sh index c89f06d..4e97c75 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -10,5 +10,12 @@ cd /home/container MODIFIED_STARTUP=`eval echo $(echo ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')` echo ":/home/container$ ${MODIFIED_STARTUP}" +if [ -f OXIDE_FLAG ]; then + echo "Updating OxideMod..." + curl "https://dl.bintray.com/oxidemod/builds/Oxide-Rust.zip" > oxide.zip + unzip oxide.zip + rm oxide.zip +fi + # Run the Server node /wrapper.js "${MODIFIED_STARTUP}"