fix downloading bug: it was commented out

This commit is contained in:
bigeagle 2016-05-24 14:34:33 +08:00
parent d024b0c72c
commit 4133ae5d3a

View File

@ -134,10 +134,9 @@ function apt-download-binary() {
fi fi
while [ $downloaded != true ]; do while [ $downloaded != true ]; do
echo "downloading ${pkg_url}" echo "downloading ${pkg_url}"
downloaded=true wget -q -O ${dest_filename} ${pkg_url} && {
# wget -q -O ${dest_filename} ${pkg_url} && { echo "${pkg_checksum} ${dest_filename}" | ${checksum_cmd} -c - && downloaded=true # two space for md5sum/sha1sum/sha256sum check format
# echo "${pkg_checksum} ${dest_filename}" | ${checksum_cmd} -c - && downloaded=true # two space for md5sum/sha1sum/sha256sum check format }
# }
done done
done done