„scripts/start-server.sh“ ändern

This commit is contained in:
2019-05-20 21:34:55 +02:00
parent d8471aadf3
commit 1fea73c677

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} \
@@ -34,6 +35,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} \