diff --git a/lgsm/functions/command_fastdl.sh b/lgsm/functions/command_fastdl.sh index 60c78fa18..3b695cf0e 100644 --- a/lgsm/functions/command_fastdl.sh +++ b/lgsm/functions/command_fastdl.sh @@ -360,7 +360,7 @@ fn_fastdl_gmod_lua_enforcer(){ echo -en "creating new download enforcer: ${luafastdlfile}..." touch "${luafastdlfullpath}" # Read all filenames and put them into a lua file at the right path - find "${fastdldir:?}" \( -type f -name "*.bz2" \) -printf '%P\n' | while read line; do + find "${fastdldir:?}" \( -type f ! -name "*.bz2" \) -printf '%P\n' | while read line; do echo "resource.AddFile( "\""${line}"\"" )" >> "${luafastdlfullpath}" done exitcode=$?