glued-download-sources: don't print verifying checksum.

This commit is contained in:
Ricardo Martins 2013-07-13 18:16:56 +01:00
parent e477b22e55
commit 0e2ae6c7b1

View File

@ -32,14 +32,13 @@ find "$PKGS" -name '*.bash' | while read file; do
m="${md5[$n]}"
u="${url[$n]}"
f="$DST/$(basename $u)"
nfo1 "Verifying checksum of $f"
fh="$(md5sum "$f" 2> /dev/null | cut -f1 -d' ')"
if [ "$fh" != "$m" ]; then
nfo1 "Downloading $f"
echo ""
wget -P "$DST" -4 -c "$u"
echo ""
fi
let n++
echo ""
done
done