Browse Source

Update install_config.sh

pull/2101/head
Daniel Gibbs 5 years ago
committed by GitHub
parent
commit
a6663cc6c1
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      lgsm/functions/install_config.sh

5
lgsm/functions/install_config.sh

@ -37,11 +37,6 @@ fn_default_config_remote(){
# every config is copied
echo -e "copying ${config} config file."
fn_script_log_info "copying ${servercfg} config file."
if [ -f /.dockerenv ]; then
# In Docker we regenerate this config everytime at startup.
# we always want to overwrite the existing file.
rm ${servercfgfullpath}
fi
if [ "${config}" == "${servercfgdefault}" ]; then
mkdir -p "${servercfgdir}"
cp -nv "${lgsmdir}/config-default/config-game/${gamedirname}/${config}" "${servercfgfullpath}"

Loading…
Cancel
Save