„scripts/start-server.sh“ ändern

This commit is contained in:
2019-05-21 11:53:37 +02:00
parent 7c8173f48e
commit 5dedd0d3ca

View File

@@ -20,6 +20,7 @@ fi
echo "---Update Server---"
if [ "${USERNAME}" == "" ]; then
if [ "${VALIDATE}" == "true" ]; then
echo "---Validating installation---"
${STEAMCMD_DIR}/steamcmd.sh \
+login anonymous \
+force_install_dir ${SERVER_DIR} \
@@ -36,6 +37,7 @@ if [ "${USERNAME}" == "" ]; then
fi
else
if [ "${VALIDATE}" == "true" ]; then
echo "---Validating installation---"
${STEAMCMD_DIR}/steamcmd.sh \
+login ${USERNAME} ${PASSWRD} \
+force_install_dir ${SERVER_DIR} \