From 2f0016751919e205e069ad776b7cef947425697c Mon Sep 17 00:00:00 2001 From: Mitch Weaver Date: Mon, 20 Nov 2023 21:05:21 -0600 Subject: [PATCH] asdf --- modserver/update_mods.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/modserver/update_mods.sh b/modserver/update_mods.sh index d63c8f7..c7a5274 100644 --- a/modserver/update_mods.sh +++ b/modserver/update_mods.sh @@ -106,7 +106,7 @@ update_game() { # args: $1 = server_modlist.txt to update update_mods_for_server() { echo - msg "======= UPDATING MODS FOR $1 ========" + msg "======= UPDATING MODS FOR: $1 ========" echo mods_file="$MODLISTS/$1" @@ -118,6 +118,8 @@ update_mods_for_server() { tempfile="/tmp/$map_name-mods_to_download.txt" :> "$tempfile" + echo hi1 + # load the server_modlist.txt, copying the mod id's we need to update # to the temp file, while skipping comments and blank lines # @@ -148,6 +150,8 @@ update_mods_for_server() { done <"$mods_file" unset mod + echo hi2 + # shellcheck disable=2046 steamcmd \ -tcp \ @@ -197,7 +201,7 @@ update_mods_for_server() { unset tempfile mod map_name mods_file mods_to_copy mod_name mod_id echo - msg "======= DONE UPDATING MODS FOR $1 ========" + msg "======= DONE UPDATING MODS FOR: $1 ========" echo }