From ff3a947b99560f83e4ab3639adda26ef58935c62 Mon Sep 17 00:00:00 2001 From: Lucas Briese Date: Thu, 20 Sep 2018 10:59:02 +0200 Subject: [PATCH] ~ fixed, newline failed in mount.cfg --- installAndMountAddons.sh | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/installAndMountAddons.sh b/installAndMountAddons.sh index 3059816..91dc064 100644 --- a/installAndMountAddons.sh +++ b/installAndMountAddons.sh @@ -6,35 +6,35 @@ mount='"mountcfg"'$'\n{\n' if [ "$INSTALL_CSS" = "true" ]; then echo "installing & mounting css" ./steamcmd.sh +login anonymous +force_install_dir "$CSS_PATH" +app_update 232330 validate +quit - mount=${mount}' "cstrike" "'"${CSS_PATH}/cstrike"'"\n' + mount=${mount}' "cstrike" "'"${CSS_PATH}/cstrike"$'"\n' if [ "$INSTALL_HL2" != "true" ]; then - mount=${mount}' "hl2" "'"${CSS_PATH}/hl2"'"\n' + mount=${mount}' "hl2" "'"${CSS_PATH}/hl2"$'"\n' fi fi if [ "$INSTALL_HL2" = "true" ]; then echo "installing & mounting hl2" ./steamcmd.sh +login anonymous +force_install_dir "$HL2_PATH" +app_update 232370 validate +quit - mount=${mount}' "hl2" "'"${HL2_PATH}/hl2"'"\n' - mount=${mount}' "hl2mp" "'"${HL2_PATH}/hl2mp"'"\n' + mount=${mount}' "hl2" "'"${HL2_PATH}/hl2"$'"\n' + mount=${mount}' "hl2mp" "'"${HL2_PATH}/hl2mp"$'"\n' fi if [ "$INSTALL_TF2" = "true" ]; then echo "installing & mounting tf2" ./steamcmd.sh +login anonymous +force_install_dir "$TF2_PATH" +app_update 232250 validate +quit - mount=${mount}' "tf2" "'"${TF2_PATH}/tf"'"\n' + mount=${mount}' "tf2" "'"${TF2_PATH}/tf"$'"\n' if [ "$INSTALL_CSS" != "true" ] && [ "$INSTALL_HL2" != "true" ]; then - mount=${mount}' "hl2" "'"${TF2_PATH}/hl2"'"\n' + mount=${mount}' "hl2" "'"${TF2_PATH}/hl2"$'"\n' fi fi if [ "$INSTALL_HLDM" = "true" ]; then echo "installing & mounting hldm" ./steamcmd.sh +login anonymous +force_install_dir "$HLDM_PATH" +app_update 255470 validate +quit - mount=${mount}' "hl1" "'"${HLDM_PATH}/hl1"'"\n' - mount=${mount}' "hldm" "'"${HLDM_PATH}/hldm"'"\n' + mount=${mount}' "hl1" "'"${HLDM_PATH}/hl1"$'"\n' + mount=${mount}' "hldm" "'"${HLDM_PATH}/hldm"$'"\n' if [ "$INSTALL_CSS" != "true" ] && [ "$INSTALL_HL2" != "true" ] && [ "$INSTALL_TF2" != "true" ]; then - mount=${mount}' "hl2" "'"${HLDM_PATH}/hl2"'"\n' + mount=${mount}' "hl2" "'"${HLDM_PATH}/hl2"$'"\n' fi fi -mount=${mount}$'}' +mount=${mount}$'}\n' if [ ! -e "${SERVER_PATH}/garrysmod/cfg" ]; then