Browse Source

now correctly checks if gamelogdir is missing and needs installing

pull/1477/head
Daniel Gibbs 8 years ago
parent
commit
28b5d3ff5a
  1. 5
      lgsm/functions/check_logs.sh

5
lgsm/functions/check_logs.sh

@ -20,7 +20,8 @@ if [ ! -d "${lgsmlogdir}" ]||[ ! -d "${consolelogdir}" ]&&[ "${gamename}" != "Te
fn_check_logs fn_check_logs
fi fi
# Create gamelogdir if variable exist but dir does not exist # Create gamelogdir
if [ -n "${gamelogdir}" ]&&[ ! -d "${gamelogdir}" ]; then # If variable exists gamelogdir exists and log/server does not
if [ -n "${gamelogdir}" ]&&[ -d "${gamelogdir}" ]&&[ ! -d "${logdir}/server" ]; then
fn_check_logs fn_check_logs
fi fi

Loading…
Cancel
Save