Change Oxide logic

This commit is contained in:
Unknown 2017-11-05 21:33:35 -05:00
parent f74368500a
commit fbeebd6e7b

View File

@ -13,7 +13,7 @@ export INTERNAL_IP=`ip route get 1 | awk '{print $NF;exit}'`
MODIFIED_STARTUP=`eval echo $(echo ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')` MODIFIED_STARTUP=`eval echo $(echo ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')`
echo ":/home/container$ ${MODIFIED_STARTUP}" echo ":/home/container$ ${MODIFIED_STARTUP}"
if [ -f OXIDE_FLAG ]; then if [ -f OXIDE_FLAG ] || [ "${OXIDE}" = 1 ]; then
echo "Updating OxideMod..." echo "Updating OxideMod..."
curl -sSL "https://github.com/OxideMod/Oxide/releases/download/latest/Oxide-Rust.zip" > oxide.zip curl -sSL "https://github.com/OxideMod/Oxide/releases/download/latest/Oxide-Rust.zip" > oxide.zip
unzip -o -q oxide.zip unzip -o -q oxide.zip