Browse Source

appearance

pull/709/head
lrob 9 years ago
parent
commit
bd28d8fe6e
  1. 15
      functions/command_fastdl.sh

15
functions/command_fastdl.sh

@ -55,25 +55,26 @@ fn_scriptlog "Initiating FastDL creation"
# Check and create folders # Check and create folders
if [ ! -d "${webdir}" ]; then if [ ! -d "${webdir}" ]; then
fn_printinfo "Creating FastDL directories..." echo ""
fn_printinfo "Creating FastDL directories"
echo -en "\n" echo -en "\n"
sleep 1 sleep 1
fn_printdots "Creating ${webdir} directory" fn_printdots "Creating www directory"
sleep 1 sleep 1
mkdir "${webdir}" mkdir "${webdir}"
fn_printok "Created ${webdir} directory" fn_printok "Created www directory"
fn_scriptlog "FastDL created ${webdir}" fn_scriptlog "FastDL created www directory"
sleep 1 sleep 1
echo -en "\n" echo -en "\n"
fi fi
if [ ! -d "${fastdldir}" ]; then if [ ! -d "${fastdldir}" ]; then
# No folder, won't ask for removing old ones # No folder, won't ask for removing old ones
newfastdl=1 newfastdl=1
fn_printdots "Creating FastDL ${fastdldir} directory" fn_printdots "Creating FastDL fastdl directory"
sleep 1 sleep 1
mkdir "${fastdldir}" mkdir "${fastdldir}"
fn_scriptlog "FastDL created ${fastdldir}" fn_printok "Created fastdl directory"
fn_printok "Created ${fastdldir} directory" fn_scriptlog "FastDL created fastdl directory"
sleep 1 sleep 1
echo -en "\n" echo -en "\n"
else else

Loading…
Cancel
Save