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')`
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
unzip -o -q oxide.zip
rm oxide.zip
echo "Done updating OxideMod!"
# OxideMod has been replaced with uMod
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
rm umod.zip
echo "Done updating uMod!"
fi
# Fix for Rust not starting