Merge pull request #8 from tenten8401/rust

Change Oxide logic
This commit is contained in:
Dane Everitt 2017-11-18 16:30:53 -05:00 committed by GitHub
commit cb1b20e8a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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