Browse Source

adding messages

pull/3152/head
Daniel Gibbs 5 years ago
parent
commit
572c97f3e9
  1. 10
      lgsm/functions/command_skeleton.sh

10
lgsm/functions/command_skeleton.sh

@ -5,8 +5,16 @@
# Description: Creates an copy of a game servers directorys.
fn_print_dots ""
fn_print_dots "Creating skeleton directory"
check.sh
# Find all directorys and create them in the skel directory
find ${rootdir} -type d -not \( -path ./skel -prune \) | cpio -pdvm skel
if [ $? != 0 ]; then
fn_print_fail_nl "Creating skeleton directory"
fn_script_log_fatal "Creating skeleton directory"
core_exit.sh
else
fn_print_ok_nl "Creating skeleton directory"
fn_script_log_pass "Creating skeleton directory"
fi

Loading…
Cancel
Save