Browse Source

ignore systemdir check if running github actions

pull/4356/head
Daniel Gibbs 2 years ago
parent
commit
2667c3b2e5
No known key found for this signature in database GPG Key ID: 2076B128385E8C55
  1. 2
      lgsm/modules/check_system_dir.sh

2
lgsm/modules/check_system_dir.sh

@ -15,7 +15,7 @@ if [ ! -d "${serverfiles}" ]; then
core_exit.sh core_exit.sh
fi fi
if [ ! -d "${systemdir}" ]; then if [ ! -d "${systemdir}" ] && [ -z "${CI}" ]; then
fn_print_fail_nl "Cannot access ${systemdir}: No such directory" fn_print_fail_nl "Cannot access ${systemdir}: No such directory"
if [ -d "${lgsmlogdir}" ]; then if [ -d "${lgsmlogdir}" ]; then
fn_script_log_fail "Cannot access ${systemdir}: No such directory." fn_script_log_fail "Cannot access ${systemdir}: No such directory."

Loading…
Cancel
Save