glued-download-sources: added maximum 30 second timeout.
This commit is contained in:
parent
10846e4f3d
commit
7ab772c363
@ -47,7 +47,10 @@ find "$PKGS" -name '*.bash' | while read file; do
|
|||||||
if [ "$fh" != "$m" ]; then
|
if [ "$fh" != "$m" ]; then
|
||||||
nfo1 "Downloading $f"
|
nfo1 "Downloading $f"
|
||||||
echo ""
|
echo ""
|
||||||
wget -P "$DST" -4 -c "$u"
|
wget \
|
||||||
|
--timeout=30 \
|
||||||
|
--tries 1 \
|
||||||
|
-P "$DST" -4 -c "$u"
|
||||||
echo ""
|
echo ""
|
||||||
fi
|
fi
|
||||||
let n++
|
let n++
|
||||||
|
Reference in New Issue
Block a user