From 196aef4dd3584541e2a6c01c44cedc1a8ba77b2b Mon Sep 17 00:00:00 2001 From: lrob Date: Fri, 19 Feb 2016 06:27:00 +0100 Subject: [PATCH] updated darkrp and user exp --- functions/command_fastdl.sh | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/functions/command_fastdl.sh b/functions/command_fastdl.sh index 350bddcf4..9b8ebde86 100644 --- a/functions/command_fastdl.sh +++ b/functions/command_fastdl.sh @@ -40,9 +40,9 @@ fi fn_fastdl_init(){ # User confirmation fn_printok "Welcome to LGSM's FastDL generator" +sleep 1 echo -en "\n" fn_scriptlog "Started FastDL creation" -sleep 1 while true; do read -p "Continue? [y/N]" yn case $yn in @@ -224,7 +224,7 @@ if [ -d "${fastdldir}/addons" ]; then fn_scriptlog "Adjusting addon's file structure" sleep 2 cp -Rf "${fastdldir}"/addons/*/* "${fastdldir}" - rm -R "${fastdldir}/addons" +#Don't remove yet rm -R "${fastdldir}/addons" fn_printok "Adjusted addon's file structure" echo -en "\n" sleep 1 @@ -232,12 +232,15 @@ fi # Correct content that may be into a lua folder by mistake like some darkrpmodification addons if [ -d "${fastdldir}/lua" ]; then - fn_printdots "Stupid file structure fix" - sleep 1 + fn_printwarn "Typical DarkRP shit detected" + sleep 2 + echo -en "\n" + fn_printdots "Fixing DarkRP file structure..." + sleep 2 cp -Rf "${fastdldir}/lua/"* "${fastdldir}" fn_printok "Stupid file structure fixed" - echo -en "\n" sleep 2 + echo -en "\n" fi }