From a8ae8a43afdc0dd470050ce5146ad8abce510df8 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sun, 5 Mar 2017 15:13:06 +0000 Subject: [PATCH] minor tidy --- lgsm/functions/command_fastdl.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lgsm/functions/command_fastdl.sh b/lgsm/functions/command_fastdl.sh index 4aa50fbe7..fab1f38a8 100644 --- a/lgsm/functions/command_fastdl.sh +++ b/lgsm/functions/command_fastdl.sh @@ -63,8 +63,8 @@ if [ "${gamename}" == "Garry's Mod" ]; then fi fn_clear_old_fastdl(){ - # Clearing old FastDL - if [ -d "${fastdldir}" ];then + # Clearing old FastDL + if [ -d "${fastdldir}" ]; then echo -en "clearing existing FastDL directory ${fastdldir}..." rm -R "${fastdldir:?}"/* exitcode=$? @@ -112,7 +112,7 @@ fn_clear_old_fastdl_alt(){ fn_fastdl_dirs(){ # Check and create directories - if [ ! -d "${webdir}" ];then + if [ ! -d "${webdir}" ]; then echo -en "creating web directory ${webdir}..." mkdir -p "${webdir}" exitcode=$? @@ -126,7 +126,7 @@ fn_fastdl_dirs(){ fi sleep 0.5 fi - if [ ! -d "${fastdldir}" ];then + if [ ! -d "${fastdldir}" ]; then echo -en "creating fastdl directory ${fastdldir}..." mkdir -p "${fastdldir}" exitcode=$?