From 093114e5c281b3bd2541e0177d5b993a8697c774 Mon Sep 17 00:00:00 2001 From: Unknown Date: Mon, 10 Jul 2017 10:34:26 -0400 Subject: [PATCH] Absolute paths in install script --- database/seeds/RustServiceTableSeeder.php | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/database/seeds/RustServiceTableSeeder.php b/database/seeds/RustServiceTableSeeder.php index 2805cb556..681d97178 100644 --- a/database/seeds/RustServiceTableSeeder.php +++ b/database/seeds/RustServiceTableSeeder.php @@ -123,12 +123,11 @@ chown -R root:root /mnt export HOME=/mnt/server ./steamcmd.sh +login anonymous +force_install_dir /mnt/server +app_update 258550 +quit -cd /mnt/server -curl https://dl.bintray.com/oxidemod/builds/Oxide-Rust.zip > oxide.zip -unzip oxide.zip -rm oxide.zip +curl "https://dl.bintray.com/oxidemod/builds/Oxide-Rust.zip" > /mnt/server/oxide.zip +unzip -o /mnt/server/oxide.zip -d /mnt/server +rm /mnt/server/oxide.zip echo "This file is used to determine whether the server is an OxideMod server or not. -Do not delete this file or you may loose OxideMod auto updating from the server." > OXIDE_FLAG +Do not delete this file or you may loose OxideMod auto updating from the server." > /mnt/server/OXIDE_FLAG mkdir -p /mnt/server/.steam/sdk32 cp -v /mnt/server/steam/linux32/steamclient.so /mnt/server/.steam/sdk32/steamclient.so