chore: update steamcmd example script

Co-authored-by: Alex <admin@softwarenoob.com>
This commit is contained in:
Torsten Widmann 2021-11-27 07:28:42 +01:00 committed by GitHub
parent 17f0f4df18
commit f550c7c2dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,7 +2,7 @@
# steamcmd Base Installation Script # steamcmd Base Installation Script
# #
# Server Files: /mnt/server # Server Files: /mnt/server
# Image to install with is 'debian:buster-slim' # Image to install with is 'ghcr.io/parkervcp/installers:debian'
## ##
# #
@ -15,7 +15,7 @@
## ##
apt -y update apt -y update
apt -y --no-install-recommends install curl lib32gcc1 ca-certificates apt -y --no-install-recommends install curl lib32gcc-s1 ca-certificates
## just in case someone removed the defaults. ## just in case someone removed the defaults.
if [[ "${STEAM_USER}" == "" ]] || [[ "${STEAM_PASS}" == "" ]]; then if [[ "${STEAM_USER}" == "" ]] || [[ "${STEAM_PASS}" == "" ]]; then
@ -42,7 +42,7 @@ chown -R root:root /mnt
export HOME=/mnt/server export HOME=/mnt/server
## install game using steamcmd ## install game using steamcmd
./steamcmd.sh +login ${STEAM_USER} ${STEAM_PASS} ${STEAM_AUTH} $( [[ "${WINDOWS_INSTALL}" == "1" ]] && printf %s '+@sSteamCmdForcePlatformType windows' ) +force_install_dir /mnt/server +app_update ${SRCDS_APPID} ${INSTALL_FLAGS} validate +quit ## other flags may be needed depending on install. looking at you cs 1.6 ./steamcmd.sh +force_install_dir /mnt/server +login ${STEAM_USER} ${STEAM_PASS} ${STEAM_AUTH} $( [[ "${WINDOWS_INSTALL}" == "1" ]] && printf %s '+@sSteamCmdForcePlatformType windows' ) +app_update ${SRCDS_APPID} ${INSTALL_FLAGS} validate +quit ## other flags may be needed depending on install. looking at you cs 1.6
## set up 32 bit libraries ## set up 32 bit libraries
mkdir -p /mnt/server/.steam/sdk32 mkdir -p /mnt/server/.steam/sdk32