Commit f367565b authored by Vladislav's avatar Vladislav

Added --silent for curl

parent fbe7a7a4
......@@ -272,7 +272,7 @@ check_process () {
export -f check_process
try_check_sha256sum () {
SHA256SUM_EXT=$(curl -L "${1//.tar*/}.sha256sum" | awk '{print $1}')
SHA256SUM_EXT=$(curl -L --silent "${1//.tar*/}.sha256sum" | awk '{print $1}')
if [[ ${#SHA256SUM_EXT} == 64 ]] ; then
SHA256SUM_INT=$(sha256sum "$dest" | awk '{print $1}')
if [[ "$SHA256SUM_EXT" == "$SHA256SUM_INT" ]] ; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment