X-Git-Url: https://git.deb.at/?p=deb%2Fpackages.git;a=blobdiff_plain;f=cron.d%2F100syncarchive_backports;h=be82d5f088c89433e8e043014deb59136f5247a7;hp=fef94c2af3086acfc7c2fdec47994c87be15bda9;hb=d833a5eed5296d1a24c35e8f0802f8291037198d;hpb=67c4e1e424e081fa0cd77c97ce7a9d82053f6bb5 diff --git a/cron.d/100syncarchive_backports b/cron.d/100syncarchive_backports index fef94c2..be82d5f 100755 --- a/cron.d/100syncarchive_backports +++ b/cron.d/100syncarchive_backports @@ -7,8 +7,14 @@ cd ${archivedir} # backports archive # -for dist in stable +for dist in sarge etch do + echo "retrieve Release(.gpg) $dist-backports" + test -d backports/${dist}-backports || mkdir -p backports/${dist}-backports + (cd backports/${dist}-backports && + wget -q -N ${backports_ftpsite}/dists/${dist}-backports/Release && + wget -q -N ${backports_ftpsite}/dists/${dist}-backports/Release.gpg ) + foo=\$arch_${dist//-/_} for arch in `eval echo $foo` do @@ -17,17 +23,17 @@ do echo retrieve Packages $dist-backports/$part/$arch test -d backports/${dist}-backports/${part}/binary-${arch} || mkdir -p backports/${dist}-backports/${part}/binary-${arch} (cd backports/${dist}-backports/${part}/binary-${arch} && - wget -q -N ${backports_ftpsite}/dists/sarge-backports/${part}/binary-${arch}/Packages.gz) + wget -q -N ${backports_ftpsite}/dists/${dist}-backports/${part}/binary-${arch}/Packages.gz) done echo retrieve Contents $dist-backports/$arch (cd backports/${dist}-backports && - wget -q -N ${backports_ftpsite}/dists/sarge-backports/Contents-${arch}.gz) + wget -q -N ${backports_ftpsite}/dists/${dist}-backports/Contents-${arch}.gz) done for part in ${parts} do echo retrieve Sources $dist-backports/$part test -d backports/${dist}-backports/${part}/source || mkdir -p backports/${dist}-backports/${part}/source (cd backports/${dist}-backports/${part}/source && - wget -q -N ${backports_ftpsite}/dists/sarge-backports/${part}/source/Sources.gz) + wget -q -N ${backports_ftpsite}/dists/${dist}-backports/${part}/source/Sources.gz) done done