Add depreciation notice, new variable, and rename zip file

This commit is contained in:
Isaac A 2018-09-10 17:19:14 -04:00 committed by GitHub
parent 6f9613743f
commit c70ace1cee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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')` 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 ] || [ "${OXIDE}" = 1 ]; then # OxideMod has been replaced with uMod
echo "Updating uMod..." if [ -f OXIDE_FLAG ] || [ "${OXIDE}" = 1 ] || [ "${UMOD}" == 1 ]; then
curl -sSL "https://umod.org/games/rust/download" > oxide.zip echo "Updating OxideMod..."
unzip -o -q oxide.zip curl -sSL "https://github.com/OxideMod/Oxide/releases/download/latest/Oxide-Rust.zip" > umod.zip
rm oxide.zip unzip -o -q umod.zip
echo "Done updating uMod!" rm umod.zip
echo "Done updating OxideMod!"
fi fi
# Fix for Rust not starting # Fix for Rust not starting