mirror of
https://github.com/GameServerManagers/LinuxGSM.git
synced 2025-01-07 03:26:50 +08:00
revert cp change
This commit is contained in:
parent
d2bb7d1af6
commit
b510672e25
@ -41,15 +41,15 @@ fn_default_config_remote() {
|
||||
fn_script_log_info "Copying ${servercfg} config file."
|
||||
if [ "${config}" == "${servercfgdefault}" ]; then
|
||||
mkdir -p "${servercfgdir}"
|
||||
cp -v --update=none "${lgsmdir}/config-default/config-game/${config}" "${servercfgfullpath}"
|
||||
cp -nv "${lgsmdir}/config-default/config-game/${config}" "${servercfgfullpath}"
|
||||
elif [ "${shortname}" == "arma3" ] && [ "${config}" == "${networkcfgdefault}" ]; then
|
||||
mkdir -p "${servercfgdir}"
|
||||
cp -v --update=none "${lgsmdir}/config-default/config-game/${config}" "${networkcfgfullpath}"
|
||||
cp -nv "${lgsmdir}/config-default/config-game/${config}" "${networkcfgfullpath}"
|
||||
elif [ "${shortname}" == "dst" ] && [ "${config}" == "${clustercfgdefault}" ]; then
|
||||
cp -v --update=none "${lgsmdir}/config-default/config-game/${clustercfgdefault}" "${clustercfgfullpath}"
|
||||
cp -nv "${lgsmdir}/config-default/config-game/${clustercfgdefault}" "${clustercfgfullpath}"
|
||||
else
|
||||
mkdir -p "${servercfgdir}"
|
||||
cp -v --update=none "${lgsmdir}/config-default/config-game/${config}" "${servercfgdir}/${config}"
|
||||
cp -nv "${lgsmdir}/config-default/config-game/${config}" "${servercfgdir}/${config}"
|
||||
fi
|
||||
done
|
||||
fn_sleep_time
|
||||
|
Loading…
Reference in New Issue
Block a user