X-Git-Url: https://git.deb.at/?p=deb%2Fpackages.git;a=blobdiff_plain;f=cron.d%2F100syncarchive_backports;h=be82d5f088c89433e8e043014deb59136f5247a7;hp=6411eb1b005c9273dd998f2368cefb86027cb5b8;hb=d833a5eed5296d1a24c35e8f0802f8291037198d;hpb=089a004ae30c4f2ffe436dcf89f819560465e6c3 diff --git a/cron.d/100syncarchive_backports b/cron.d/100syncarchive_backports index 6411eb1..be82d5f 100755 --- a/cron.d/100syncarchive_backports +++ b/cron.d/100syncarchive_backports @@ -7,13 +7,13 @@ cd ${archivedir} # backports archive # -for dist in oldstable +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/sarge-backports/Release && - wget -q -N ${backports_ftpsite}/dists/sarge-backports/Release.gpg ) + 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` @@ -23,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