Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
mdarkness1988 authored Aug 24, 2018
1 parent b9b9d7a commit da4b73c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions start_rust.sh
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/steamcmd/rust/RustDedicated_Data/Plugin
if [ "$OXIDE" = "1" ]; then
# Next check if Oxide doesn't' exist, or if we want to always update it
INSTALL_OXIDE="0"
if [ ! -f "/steamcmd/rust/CSharpCompiler.x86_x64" ]; then
if [ ! -f "/steamcmd/rust/Compiler.x86_x64" ]; then
INSTALL_OXIDE="1"
fi
if [ "$OXIDE_UPDATE" = "1" ]; then
Expand All @@ -231,7 +231,8 @@ if [ "$OXIDE" = "1" ]; then
echo "Downloading and installing latest Oxide.."
OXIDE_URL=$(curl -s https://api.github.com/repos/OxideMod/Oxide.Rust/releases/latest | grep browser_download_url | cut -d '"' -f 4)
curl -sL $OXIDE_URL | bsdtar -xvf- -C /steamcmd/rust/
chmod 755 /steamcmd/rust/CSharpCompiler.x86_x64 2>&1 /dev/null
chmod 755 /steamcmd/rust/Compiler.x86_x64 2>&1 /dev/null
# CSharpCompiler.x86_x64

## NOTE: Disabled until I have time to properly fix this
#chown -R $PUID:$PGID /steamcmd/rust
Expand Down

0 comments on commit da4b73c

Please sign in to comment.