mirror of
https://github.com/tuna/tunasync-scripts.git
synced 2025-04-20 12:42:50 +00:00
fix downloading bug: it was commented out
This commit is contained in:
parent
d024b0c72c
commit
4133ae5d3a
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user