From d5d4bee45ced0809330cd6217c455816d7ee1821 Mon Sep 17 00:00:00 2001
From: Daniel Gibbs <me@danielgibbs.co.uk>
Date: Fri, 5 Feb 2016 12:12:58 +0000
Subject: [PATCH] adjusting display

---
 functions/core_dl.sh | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/functions/core_dl.sh b/functions/core_dl.sh
index c6a05ecf1..1d90acab7 100644
--- a/functions/core_dl.sh
+++ b/functions/core_dl.sh
@@ -41,14 +41,13 @@ dl_url=$3
 dl_md5=$4
 
 if [ ! -f "${dl_filepath}/${dl_filename}" ]||[ -n "${retry_dl}" ]; then
-	echo -ne "downloading ${dl_filename}...\c"
-
-	dl=$(curl --fail -o "${dl_filepath}/${dl_filename}" "${dl_url}" 2>&1)
+	echo -e "downloading ${dl_filename}..."
+	dl=$(curl --progress-bar --fail -o "${dl_filepath}/${dl_filename}" "${dl_url}")
 	exitcode=$?
+	echo -ne "downloading ${dl_filename}...\c"
 	if [ ${exitcode} -ne 0 ]; then
 		fn_printfaileol
-		echo "${dl}"
-		echo -e "${url}\n"
+		echo -e "${dl_url}\n"
 		exit ${exitcode}
 	else
 		fn_printokeol