This commit is contained in:
2023-11-20 21:06:58 -06:00
parent 2f00167519
commit f190e47f69

View File

@@ -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 \