asdf
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user