Update start-server.sh
This commit is contained in:
@@ -7,7 +7,7 @@ if [ ! -f ${STEAMCMD_DIR}/steamcmd.sh ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo "---Update SteamCMD---"
|
echo "---Update SteamCMD---"
|
||||||
if [ "USERNAME" == "" ]; then
|
if [ "${USERNAME}" == "" ]; then
|
||||||
${STEAMCMD_DIR}/steamcmd.sh \
|
${STEAMCMD_DIR}/steamcmd.sh \
|
||||||
+login anonymous \
|
+login anonymous \
|
||||||
+quit
|
+quit
|
||||||
@@ -18,8 +18,8 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo "---Update Server---"
|
echo "---Update Server---"
|
||||||
if [ "USERNAME" == "" ]; then
|
if [ "${USERNAME}" == "" ]; then
|
||||||
if [ "$VALIDATE" == "true" ]; then
|
if [ "${VALIDATE}" == "true" ]; then
|
||||||
${STEAMCMD_DIR}/steamcmd.sh \
|
${STEAMCMD_DIR}/steamcmd.sh \
|
||||||
+login anonymous \
|
+login anonymous \
|
||||||
+force_install_dir $SERVER_DIR \
|
+force_install_dir $SERVER_DIR \
|
||||||
@@ -33,7 +33,7 @@ if [ "USERNAME" == "" ]; then
|
|||||||
+quit
|
+quit
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
if [ "$VALIDATE" == "true" ]; then
|
if [ "${VALIDATE}" == "true" ]; then
|
||||||
${STEAMCMD_DIR}/steamcmd.sh \
|
${STEAMCMD_DIR}/steamcmd.sh \
|
||||||
+login $USERNAME $PASSWRD \
|
+login $USERNAME $PASSWRD \
|
||||||
+force_install_dir $SERVER_DIR \
|
+force_install_dir $SERVER_DIR \
|
||||||
|
Reference in New Issue
Block a user