Merge pull request #26 from tenten8401/patch-1

It's called uMod now apparently...
This commit is contained in:
Dane Everitt 2018-09-18 21:58:37 -07:00 committed by GitHub
commit a5830338b4
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 OxideMod..." if [ -f OXIDE_FLAG ] || [ "${OXIDE}" = 1 ] || [ "${UMOD}" = 1 ]; then
curl -sSL "https://github.com/OxideMod/Oxide/releases/download/latest/Oxide-Rust.zip" > oxide.zip echo "Updating uMod..."
unzip -o -q oxide.zip curl -sSL "https://umod.org/games/rust/download" > umod.zip
rm oxide.zip unzip -o -q umod.zip
echo "Done updating OxideMod!" rm umod.zip
echo "Done updating uMod!"
fi fi
# Fix for Rust not starting # Fix for Rust not starting