1
1
mirror of https://github.com/pterodactyl/panel.git synced 2024-11-22 17:12:30 +01:00

Absolute paths in install script

This commit is contained in:
Unknown 2017-07-10 10:34:26 -04:00
parent c746baf416
commit 093114e5c2

View File

@ -123,12 +123,11 @@ chown -R root:root /mnt
export HOME=/mnt/server export HOME=/mnt/server
./steamcmd.sh +login anonymous +force_install_dir /mnt/server +app_update 258550 +quit ./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" > /mnt/server/oxide.zip
curl https://dl.bintray.com/oxidemod/builds/Oxide-Rust.zip > oxide.zip unzip -o /mnt/server/oxide.zip -d /mnt/server
unzip oxide.zip rm /mnt/server/oxide.zip
rm oxide.zip
echo "This file is used to determine whether the server is an OxideMod server or not. 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 mkdir -p /mnt/server/.steam/sdk32
cp -v /mnt/server/steam/linux32/steamclient.so /mnt/server/.steam/sdk32/steamclient.so cp -v /mnt/server/steam/linux32/steamclient.so /mnt/server/.steam/sdk32/steamclient.so