UltimateByte 9 лет назад
Родитель
Сommit
02b661adbb
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      lgsm/functions/command_fastdl.sh

+ 1 - 1
lgsm/functions/command_fastdl.sh

@@ -360,7 +360,7 @@ fn_fastdl_gmod_lua_enforcer(){
 		echo -en "creating new download enforcer: ${luafastdlfile}..."
 		echo -en "creating new download enforcer: ${luafastdlfile}..."
 		touch "${luafastdlfullpath}"
 		touch "${luafastdlfullpath}"
 		# Read all filenames and put them into a lua file at the right path
 		# 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}"
 			echo "resource.AddFile( "\""${line}"\"" )" >> "${luafastdlfullpath}"
 		done
 		done
 		exitcode=$?
 		exitcode=$?