From c70ace1cee8fcf362ebe776ab996414ff0fe3c3d Mon Sep 17 00:00:00 2001 From: Isaac A Date: Mon, 10 Sep 2018 17:19:14 -0400 Subject: [PATCH] Add depreciation notice, new variable, and rename zip file --- entrypoint.sh | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 91fe92e..e4da6fa 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -11,12 +11,13 @@ export INTERNAL_IP=`ip route get 1 | awk '{print $NF;exit}'` MODIFIED_STARTUP=`eval echo $(echo ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')` echo ":/home/container$ ${MODIFIED_STARTUP}" -if [ -f OXIDE_FLAG ] || [ "${OXIDE}" = 1 ]; then - echo "Updating uMod..." - curl -sSL "https://umod.org/games/rust/download" > oxide.zip - unzip -o -q oxide.zip - rm oxide.zip - echo "Done updating uMod!" +# OxideMod has been replaced with uMod +if [ -f OXIDE_FLAG ] || [ "${OXIDE}" = 1 ] || [ "${UMOD}" == 1 ]; then + echo "Updating OxideMod..." + curl -sSL "https://github.com/OxideMod/Oxide/releases/download/latest/Oxide-Rust.zip" > umod.zip + unzip -o -q umod.zip + rm umod.zip + echo "Done updating OxideMod!" fi # Fix for Rust not starting