]> Creatis software - cpPlugins.git/commitdiff
...
authorLeonardo Florez <leonardo@iMac-de-Andrea.local>
Wed, 8 Nov 2017 21:19:06 +0000 (16:19 -0500)
committerLeonardo Florez <leonardo@iMac-de-Andrea.local>
Wed, 8 Nov 2017 21:19:06 +0000 (16:19 -0500)
config/install_ivq.sh

index 80dfd92d5f6b95851a881ba7267d3d9bb530405e..116d95db883aa0fa8f364cfe051d57fac4f4beb6 100755 (executable)
@@ -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/\.[^.]*$//'`