Browse Source

lua ressource not bz2 !

pull/1331/head
UltimateByte 8 years ago
committed by GitHub
parent
commit
02b661adbb
  1. 2
      lgsm/functions/command_fastdl.sh

2
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=$?

Loading…
Cancel
Save