mirror of
https://github.com/tuna/tunasync-scripts.git
synced 2025-04-20 12:24:12 +00:00
added WGET_OPTIONS to apt-download
This commit is contained in:
parent
ddfb363e34
commit
2416f3f991
@ -8,7 +8,7 @@ function check-and-download() {
|
||||
remote_file=$1
|
||||
local_file=$2
|
||||
echo "downloading ${remote_file}"
|
||||
timeout -s INT 300 wget -q -N -O ${local_file} ${remote_file} || {
|
||||
timeout -s INT 300 wget -q -N -O ${WGET_OPTIONS} ${local_file} ${remote_file} || {
|
||||
rm ${local_file}
|
||||
return 1
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user