|
@ -12,7 +12,9 @@ local function_selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))" |
|
|
check.sh |
|
|
check.sh |
|
|
|
|
|
|
|
|
# Directories |
|
|
# Directories |
|
|
webdir="${rootdir}/public_html" |
|
|
if [ -z "${webdir}" ]; then |
|
|
|
|
|
webdir="${lgsmdir}/public_html" |
|
|
|
|
|
fi |
|
|
fastdldir="${webdir}/fastdl" |
|
|
fastdldir="${webdir}/fastdl" |
|
|
addonsdir="${systemdir}/addons" |
|
|
addonsdir="${systemdir}/addons" |
|
|
# Server lua autorun dir, used to autorun lua on client connect to the server |
|
|
# Server lua autorun dir, used to autorun lua on client connect to the server |
|
@ -238,7 +240,7 @@ fn_fastdl_source(){ |
|
|
fn_script_log_info "Analysing required files" |
|
|
fn_script_log_info "Analysing required files" |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
local directorys_array=( "maps" "materials" "particles" "sounds" ) |
|
|
local directorys_array=( "maps" "materials" "models" "particles" "sounds" "resources" ) |
|
|
for directory in "${directorys_array[@]}" |
|
|
for directory in "${directorys_array[@]}" |
|
|
do |
|
|
do |
|
|
if [ -d "${systemdir}/${directory}" ]; then |
|
|
if [ -d "${systemdir}/${directory}" ]; then |
|
|