From 321c322fdc2bc6f04c6b078d6ceb925a307a7a4a Mon Sep 17 00:00:00 2001 From: Leonardo Florez Date: Wed, 8 Nov 2017 16:19:06 -0500 Subject: [PATCH] ... --- config/install_ivq.sh | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/config/install_ivq.sh b/config/install_ivq.sh index 80dfd92..116d95d 100755 --- a/config/install_ivq.sh +++ b/config/install_ivq.sh @@ -32,8 +32,8 @@ download( ) if [ ! -f $sum ] ; then echo >&2 "*** Receiving $url ***" curl -L -o $file $url - if [ -n "$sum_cmd" ] && [ -f $file ] ; then - $sum_cmd $file > $sum + if [ -f $file ] ; then + touch $sum fi fi } @@ -57,24 +57,6 @@ if [[ "$platform" == 'Darwin' ]]; then qt5extras_id="mac" fi -## -- Get best checksum command -sum_cmd=`command -v sha512sum` -if [ -z "$sum_cmd" ] ; then - sum_cmd=`command -v sha384sum` -fi -if [ -z "$sum_cmd" ] ; then - sum_cmd=`command -v sha256sum` -fi -if [ -z "$sum_cmd" ] ; then - sum_cmd=`command -v sha224sum` -fi -if [ -z "$sum_cmd" ] ; then - sum_cmd=`command -v sha1sum` -fi -if [ -z "$sum_cmd" ] ; then - sum_cmd=`command -v md5sum` -fi - ## -- Download information boost_url="https://downloads.sourceforge.net/project/boost/boost/$boost_version/boost_`echo $boost_version | sed 's/\./\_/g'`.tar.bz2" qt5_short_version=`echo $qt5_version | sed 's/\.[^.]*$//'` -- 2.47.1