From 28234dd46995cc19343874a7f003ca853c832943 Mon Sep 17 00:00:00 2001 From: Mariusz Skoneczko Date: Tue, 22 Jun 2021 12:13:39 +1000 Subject: [PATCH] Sleep after every download --- common/libc.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/libc.sh b/common/libc.sh index a4297c0..d760be3 100644 --- a/common/libc.sh +++ b/common/libc.sh @@ -123,6 +123,7 @@ get_all_debian() { local pkgname=$3 for f in `wget $url/ -O - 2>/dev/null | grep -Eoh "$pkgname"'(-i386|-amd64|-x32)?_[^"]*(amd64|i386)\.deb' |grep -v ""`; do get_debian "$url/$f" "$info" "$pkgname" + sleep .1 done return 0 } @@ -390,6 +391,7 @@ get_all_launchpad() { url=$(echo $url | grep -Eo '[^"]+') # some old packages are deleted. ignore those. get_debian "$url" "$info-$series" "$pkgname" + sleep .1 done done }