|
@ -9,12 +9,12 @@ fn_print_dots "Creating skeleton directory" |
|
|
check.sh |
|
|
check.sh |
|
|
|
|
|
|
|
|
# Find all directorys and create them in the skel directory |
|
|
# Find all directorys and create them in the skel directory |
|
|
find ${rootdir} -type d -not \( -path ./skel -prune \) | cpio -pdvm skel |
|
|
find ${rootdir} -type d -not \( -path ./skel -prune \) | cpio -pdvm skel 2>/dev/null |
|
|
if [ $? != 0 ]; then |
|
|
if [ $? != 0 ]; then |
|
|
fn_print_fail_nl "Creating skeleton directory" |
|
|
fn_print_fail_nl "Creating skeleton directory" |
|
|
fn_script_log_fatal "Creating skeleton directory" |
|
|
fn_script_log_fatal "Creating skeleton directory" |
|
|
core_exit.sh |
|
|
|
|
|
else |
|
|
else |
|
|
fn_print_ok_nl "Creating skeleton directory" |
|
|
fn_print_ok_nl "Creating skeleton directory" |
|
|
fn_script_log_pass "Creating skeleton directory" |
|
|
fn_script_log_pass "Creating skeleton directory" |
|
|
fi |
|
|
fi |
|
|
|
|
|
core_exit.sh |
|
|