Skip to content

Commit 093114e

Browse files
committed
Absolute paths in install script
1 parent c746baf commit 093114e

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

database/seeds/RustServiceTableSeeder.php

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -123,12 +123,11 @@ private function addCoreOptions()
123123
export HOME=/mnt/server
124124
./steamcmd.sh +login anonymous +force_install_dir /mnt/server +app_update 258550 +quit
125125
126-
cd /mnt/server
127-
curl https://dl.bintray.com/oxidemod/builds/Oxide-Rust.zip > oxide.zip
128-
unzip oxide.zip
129-
rm oxide.zip
126+
curl "https://dl.bintray.com/oxidemod/builds/Oxide-Rust.zip" > /mnt/server/oxide.zip
127+
unzip -o /mnt/server/oxide.zip -d /mnt/server
128+
rm /mnt/server/oxide.zip
130129
echo "This file is used to determine whether the server is an OxideMod server or not.
131-
Do not delete this file or you may loose OxideMod auto updating from the server." > OXIDE_FLAG
130+
Do not delete this file or you may loose OxideMod auto updating from the server." > /mnt/server/OXIDE_FLAG
132131
133132
mkdir -p /mnt/server/.steam/sdk32
134133
cp -v /mnt/server/steam/linux32/steamclient.so /mnt/server/.steam/sdk32/steamclient.so

0 commit comments

Comments
 (0)