„scripts/start-server.sh“ ändern

This commit is contained in:
2020-02-25 14:45:18 +01:00
parent eccc349eb9
commit f1261b2da2

View File

@@ -1,7 +1,4 @@
#!/bin/bash
echo "---Setting umask to ${UMASK}---"
umask ${UMASK}
if [ ! -f ${STEAMCMD_DIR}/steamcmd.sh ]; then
echo "SteamCMD not found!"
wget -q -O ${STEAMCMD_DIR}/steamcmd_linux.tar.gz http://media.steampowered.com/client/steamcmd_linux.tar.gz
@@ -82,7 +79,7 @@ fi
echo "---Prepare Server---"
mkdir ${DATA_DIR}/.steam/sdk32
cp ${SERVER_DIR}/steamclient.so ${DATA_DIR}/.steam/sdk32/steamclient.so
chmod -R 777 ${DATA_DIR}
chmod -R ${DATA_PERM} ${DATA_DIR}
if [ ! -d ${SERVER_DIR}/cstrike ]; then
echo "---Server ready---"
else