Browse Source

fix dir install

pull/4633/head
Daniel Gibbs 12 months ago
parent
commit
851be6a04a
No known key found for this signature in database GPG Key ID: 2076B128385E8C55
  1. 4
      lgsm/modules/install_config.sh

4
lgsm/modules/install_config.sh

@ -64,8 +64,8 @@ fn_default_config_local() {
fn_check_cfgdir
# Check if the directory for ${servercfgfullpath} exists, if not, create it
if [ ! -d "${servercfgfullpath}" ]; then
mkdir -p "${servercfgfullpath}"
if [ ! -d "$(dirname "${servercfgfullpath}")" ]; then
mkdir -p "$(dirname "${servercfgfullpath}")"
fi
echo -en "copying config file [ ${italic}${servercfgdefault}${default} ]"

Loading…
Cancel
Save