Skip to content

Commit

Permalink
revert cp change
Browse files Browse the repository at this point in the history
  • Loading branch information
dgibbs64 committed Sep 22, 2024
1 parent d2bb7d1 commit b510672
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lgsm/modules/install_config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b510672

Please sign in to comment.