mirror of
https://github.com/tuna/tunasync-scripts.git
synced 2025-12-26 00:52:46 +00:00
fix apt-download
This commit is contained in:
parent
147414f1e9
commit
feda36b658
|
|
@ -138,6 +138,8 @@ function apt-download-binary() {
|
|||
echo "Skipping ${pkg_filename}, size ${pkg_size}"
|
||||
fi
|
||||
fi
|
||||
[[ $downloaded == true ]] && continue
|
||||
|
||||
for retry in `seq ${MAX_RETRY}`; do
|
||||
echo "downloading ${pkg_url} to ${dest_filename}"
|
||||
if [[ -z ${APT_DRY_RUN:-} ]]; then
|
||||
|
|
|
|||
Loading…
Reference in New Issue