mirror of
https://github.com/tuna/tunasync-scripts.git
synced 2025-04-20 04:12:42 +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…
x
Reference in New Issue
Block a user