mirror of
https://github.com/pterodactyl/panel.git
synced 2024-11-25 10:32:31 +01:00
Fix the unholy disaster that is steamcmd within containers.
This honestly took like 3 hours to debug and fix, and TBH its all
because +app_update is not the same as update, and I didn’t notice I
had mistyped at some point.
Many keys were violently smashed. R.I.P. Keyboard, you were decent.
👻
This commit is contained in:
parent
9343ac7b7d
commit
ee309b095e
@ -74,16 +74,21 @@ class SourceServiceTableSeeder extends Seeder
|
||||
# SRCDS Base Installation Script
|
||||
#
|
||||
# Server Files: /mnt/server
|
||||
apt update
|
||||
apt install curl
|
||||
apt -y update
|
||||
apt -y --no-install-recommends install curl lib32gcc1 ca-certificates
|
||||
|
||||
cd /tmp
|
||||
curl -sSL -o steamcmd.tar.gz http://media.steampowered.com/installer/steamcmd_linux.tar.gz
|
||||
|
||||
mkdir /mnt/server/steamcmd
|
||||
mkdir -p /mnt/server/steamcmd
|
||||
tar -xzvf steamcmd.tar.gz -C /mnt/server/steamcmd
|
||||
cd /mnt/server/steamcmd
|
||||
|
||||
# SteamCMD fails otherwise for some reason, even running as root.
|
||||
# This is changed at the end of the install process anyways.
|
||||
chown -R root:root /mnt
|
||||
|
||||
export HOME=/mnt/server
|
||||
./steamcmd.sh +login anonymous +force_install_dir /mnt/server +app_update ${SRCDS_APPID} +quit
|
||||
|
||||
mkdir -p /mnt/server/.steam/sdk32
|
||||
@ -145,13 +150,13 @@ EOF;
|
||||
# ARK: Installation Script
|
||||
#
|
||||
# Server Files: /mnt/server
|
||||
apt update
|
||||
apt install curl
|
||||
apt -y update
|
||||
apt -y --no-install-recommends install curl lib32gcc1 ca-certificates
|
||||
|
||||
cd /tmp
|
||||
curl -sSL -o steamcmd.tar.gz http://media.steampowered.com/installer/steamcmd_linux.tar.gz
|
||||
|
||||
mkdir /mnt/server/steamcmd
|
||||
mkdir -p /mnt/server/steamcmd
|
||||
mkdir -p /mnt/server/Engine/Binaries/ThirdParty/SteamCMD/Linux
|
||||
|
||||
tar -xzvf steamcmd.tar.gz -C /mnt/server/steamcmd
|
||||
@ -159,6 +164,11 @@ tar -xzvf steamcmd.tar.gz -C /mnt/server/Engine/Binaries/ThirdParty/SteamCMD/Lin
|
||||
|
||||
cd /mnt/server/steamcmd
|
||||
|
||||
# SteamCMD fails otherwise for some reason, even running as root.
|
||||
# This is changed at the end of the install process anyways.
|
||||
chown -R root:root /mnt
|
||||
|
||||
export HOME=/mnt/server
|
||||
./steamcmd.sh +login anonymous +force_install_dir /mnt/server +app_update 376030 +quit
|
||||
|
||||
mkdir -p /mnt/server/.steam/sdk32
|
||||
|
Loading…
Reference in New Issue
Block a user