From 6f9613743ff94936c41b00c10d25bdcde3da0ec0 Mon Sep 17 00:00:00 2001 From: Isaac A Date: Mon, 10 Sep 2018 17:04:19 -0400 Subject: [PATCH 1/4] It's called uMod now apparently... --- entrypoint.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index d4eba7f..91fe92e 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -12,11 +12,11 @@ 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 OxideMod..." - curl -sSL "https://github.com/OxideMod/Oxide/releases/download/latest/Oxide-Rust.zip" > oxide.zip + echo "Updating uMod..." + curl -sSL "https://umod.org/games/rust/download" > oxide.zip unzip -o -q oxide.zip rm oxide.zip - echo "Done updating OxideMod!" + echo "Done updating uMod!" fi # Fix for Rust not starting From c70ace1cee8fcf362ebe776ab996414ff0fe3c3d Mon Sep 17 00:00:00 2001 From: Isaac A Date: Mon, 10 Sep 2018 17:19:14 -0400 Subject: [PATCH 2/4] 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 From 8a30b35c74b47a62d94f4f5546918463f8ee0290 Mon Sep 17 00:00:00 2001 From: Isaac A Date: Mon, 10 Sep 2018 17:21:53 -0400 Subject: [PATCH 3/4] Copied and pasted the previous commit's file --- entrypoint.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index e4da6fa..fa911de 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -13,11 +13,11 @@ echo ":/home/container$ ${MODIFIED_STARTUP}" # 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 + echo "Updating uMod..." + curl -sSL "https://umod.org/games/rust/download" > umod.zip unzip -o -q umod.zip rm umod.zip - echo "Done updating OxideMod!" + echo "Done updating uMod!" fi # Fix for Rust not starting From 80cdbdc8de5759d4cf90e7f74860062c4a53a2f9 Mon Sep 17 00:00:00 2001 From: Isaac A Date: Mon, 10 Sep 2018 17:23:08 -0400 Subject: [PATCH 4/4] Update entrypoint.sh --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index fa911de..33a9054 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -12,7 +12,7 @@ MODIFIED_STARTUP=`eval echo $(echo ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g' echo ":/home/container$ ${MODIFIED_STARTUP}" # OxideMod has been replaced with uMod -if [ -f OXIDE_FLAG ] || [ "${OXIDE}" = 1 ] || [ "${UMOD}" == 1 ]; then +if [ -f OXIDE_FLAG ] || [ "${OXIDE}" = 1 ] || [ "${UMOD}" = 1 ]; then echo "Updating uMod..." curl -sSL "https://umod.org/games/rust/download" > umod.zip unzip -o -q umod.zip