|
|
@ -116,8 +116,8 @@ fn_fetch_file(){ |
|
|
|
if [ "${local_filename##*.}" == "bz2" ]||[ "${local_filename##*.}" == "gz" ]||[ "${local_filename##*.}" == "zip" ]||[ "${local_filename##*.}" == "jar" ]; then |
|
|
|
echo -ne "downloading ${local_filename}..." |
|
|
|
sleep 0.5 |
|
|
|
curlcmd=$(${curlpath} --progress-bar --fail -L -o "${local_filedir}/${local_filename}" "${remote_fileurl}") |
|
|
|
echo -ne "downloading ${local_filename}..." |
|
|
|
curlcmd=$(${curlpath} --progress-bar --fail -L -o "${local_filedir}/${local_filename}" "${remote_fileurl}") |
|
|
|
else |
|
|
|
echo -ne " fetching ${local_filename}...\c" |
|
|
|
curlcmd=$(${curlpath} -s --fail -L -o "${local_filedir}/${local_filename}" "${remote_fileurl}" 2>&1) |
|
|
|