From 5e1e8045fe1457a713a6b386a37e6138ea2afbca Mon Sep 17 00:00:00 2001 From: Mitch Weaver Date: Mon, 20 Nov 2023 21:22:19 -0600 Subject: [PATCH] asdf --- modserver/update_mods.sh | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/modserver/update_mods.sh b/modserver/update_mods.sh index c407577..a3cd144 100644 --- a/modserver/update_mods.sh +++ b/modserver/update_mods.sh @@ -139,17 +139,12 @@ update_mods_for_server() { die "mod for $map_name appears to be empty - syntax error" fi - printf "%s\n" "$mod" >> "$tempfile" + printf "+workshop_download_item $DAYZ_GAME_ID %s\n" "$mod" >> "$tempfile" mkdir -p "$LOCAL_MODS/$mod" esac done <"$mods_file" unset mod - echo - echo "tempfile:" - cat "$tempfile" - echo - # shellcheck disable=2046 steamcmd \ -tcp \ @@ -157,8 +152,6 @@ update_mods_for_server() { +@sSteamCmdForcePlatformType windows \ +@ShutdownOnFailedCommand 1 \ +login "$STEAM_USER" \ - +workshop_download_item \ - "$DAYZ_GAME_ID" \ $(xargs < "$tempfile") \ +quit