From f190e47f69ead89c0ab35f08588d8cc44c8cf409 Mon Sep 17 00:00:00 2001 From: Mitch Weaver Date: Mon, 20 Nov 2023 21:06:58 -0600 Subject: [PATCH] asdf --- modserver/update_mods.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/modserver/update_mods.sh b/modserver/update_mods.sh index c7a5274..f400fad 100644 --- a/modserver/update_mods.sh +++ b/modserver/update_mods.sh @@ -110,7 +110,12 @@ update_mods_for_server() { echo mods_file="$MODLISTS/$1" + echo $mods_file + echo + cat $mods_file + echo map_name=${1%.txt} + echo $map_name mkdir -p "$REMOTE_MODS/$map_name" # Create temporary file to list all the mod_id's we are @@ -118,7 +123,7 @@ update_mods_for_server() { tempfile="/tmp/$map_name-mods_to_download.txt" :> "$tempfile" - echo hi1 + echo $tempfile # load the server_modlist.txt, copying the mod id's we need to update # to the temp file, while skipping comments and blank lines @@ -150,8 +155,6 @@ update_mods_for_server() { done <"$mods_file" unset mod - echo hi2 - # shellcheck disable=2046 steamcmd \ -tcp \