Browse Source

adjusting display

pull/743/head
Daniel Gibbs 9 years ago
parent
commit
d5d4bee45c
  1. 9
      functions/core_dl.sh

9
functions/core_dl.sh

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

Loading…
Cancel
Save