From 7086e7c9736af921406d9dfe0ea28d384e35eb95 Mon Sep 17 00:00:00 2001 From: Frank Lichtenheld Date: Thu, 23 Feb 2006 03:37:15 +0000 Subject: [PATCH] Really adapt these to new archive/suite definitions --- config.sh | 4 ++-- cron.d/100syncarchive_amd64 | 6 +++--- cron.d/100syncarchive_backports | 16 ++++++++-------- cron.d/100syncarchive_kfreebsd | 6 +++--- cron.d/100syncarchive_volatile | 12 ++++++------ 5 files changed, 22 insertions(+), 22 deletions(-) diff --git a/config.sh b/config.sh index a5aa6db..5c3a65e 100644 --- a/config.sh +++ b/config.sh @@ -47,10 +47,10 @@ cn_help_url="http://www.debian.org/intro/cn" # polangs="de fi nl fr uk" ddtplangs="de cs da eo es fi fr hu it ja nl pl pt_BR pt_PT ru sk sv_SE uk" -archives="us non-US security volatile backports" +archives="us non-US security amd64 kfreebsd" sections="main contrib non-free" parts="$sections" -suites="oldstable stable testing unstable experimental" +suites="oldstable stable stable-volatile stable-backports testing unstable experimental" dists="$suites" architectures="alpha amd64 arm hppa hurd-i386 i386 ia64 kfreebsd-i386 m68k mips mipsel powerpc s390 sparc" arch_oldstable="alpha arm hppa i386 ia64 m68k mips mipsel powerpc s390 sparc" diff --git a/cron.d/100syncarchive_amd64 b/cron.d/100syncarchive_amd64 index 45754a4..087d6f7 100755 --- a/cron.d/100syncarchive_amd64 +++ b/cron.d/100syncarchive_amd64 @@ -14,12 +14,12 @@ for dist in stable testing unstable for part in ${parts} main/debian-installer do echo retrieve Packages $dist/$part/$arch - test -d us/${dist}/${part}/binary-${arch} || mkdir -p us/${dist}/${part}/binary-${arch} - (cd us/${dist}/${part}/binary-${arch} && + test -d amd64/${dist}/${part}/binary-${arch} || mkdir -p amd64/${dist}/${part}/binary-${arch} + (cd amd64/${dist}/${part}/binary-${arch} && wget -q -N ${amd64_ftpsite}/dists/${dist}/${part}/binary-${arch}/Packages.gz) done echo retrieve Contents $dist/$arch - (cd us/${dist} && + (cd amd64/${dist} && wget -q -N ${amd64_ftpsite}/dists/${dist}/Contents-${arch}.gz) done diff --git a/cron.d/100syncarchive_backports b/cron.d/100syncarchive_backports index 4ac478f..b482dc7 100755 --- a/cron.d/100syncarchive_backports +++ b/cron.d/100syncarchive_backports @@ -14,20 +14,20 @@ do do for part in ${parts} do - echo retrieve Packages $dist/$part/backports/$arch - test -d backports/${dist}-volatile/${part}/binary-${arch} || mkdir -p backports/${dist}-volatile/${part}/binary-${arch} - (cd backports/${dist}-volatile/${part}/binary-${arch} && + echo retrieve Packages $dist-backports/$part/$arch + test -d us/${dist}-backports/${part}/binary-${arch} || mkdir -p us/${dist}-backports/${part}/binary-${arch} + (cd us/${dist}-backports/${part}/binary-${arch} && wget -q -N ${backports_ftpsite}/dists/sarge-backports/${part}/binary-${arch}/Packages.gz) done - echo retrieve Contents $dist/$arch - (cd backports/${dist}-volatile && + echo retrieve Contents $dist-backports/$arch + (cd us/${dist}-backports && wget -q -N ${backports_ftpsite}/dists/sarge-backports/Contents-${arch}.gz) done for part in ${parts} do - echo retrieve Sources $dist/$part/backports - test -d backports/${dist}-volatile/${part}/source || mkdir -p backports/${dist}-volatile/${part}/source - (cd backports/${dist}-volatile/${part}/source && + echo retrieve Sources $dist-backports/$part + test -d us/${dist}-backports/${part}/source || mkdir -p us/${dist}-backports/${part}/source + (cd us/${dist}-backports/${part}/source && wget -q -N ${backports_ftpsite}/dists/sarge-backports/${part}/source/Sources.gz) done done diff --git a/cron.d/100syncarchive_kfreebsd b/cron.d/100syncarchive_kfreebsd index 9700f69..dff6cd2 100755 --- a/cron.d/100syncarchive_kfreebsd +++ b/cron.d/100syncarchive_kfreebsd @@ -14,12 +14,12 @@ for dist in unstable experimental for part in ${parts} main/debian-installer do echo retrieve Packages $dist/$part/$arch - test -d us/${dist}/${part}/binary-${arch} || mkdir -p us/${dist}/${part}/binary-${arch} - (cd us/${dist}/${part}/binary-${arch} && + test -d kfreebsd/${dist}/${part}/binary-${arch} || mkdir -p kfreebsd/${dist}/${part}/binary-${arch} + (cd kfreebsd/${dist}/${part}/binary-${arch} && wget -q -N ${kfreebsd_ftpsite}/dists/${dist}/${part}/binary-${arch}/Packages.gz) done echo retrieve Contents $dist/$arch - (cd us/${dist} && + (cd kfreebsd/${dist} && wget -q -N ${kfreebsd_ftpsite}/dists/${dist}/Contents-${arch}.gz) done diff --git a/cron.d/100syncarchive_volatile b/cron.d/100syncarchive_volatile index 72a381e..9fa2366 100755 --- a/cron.d/100syncarchive_volatile +++ b/cron.d/100syncarchive_volatile @@ -14,17 +14,17 @@ do do for part in ${parts} do - echo retrieve Packages $dist/$part/volatile/$arch - test -d volatile/${dist}-volatile/${part}/binary-${arch} || mkdir -p volatile/${dist}-volatile/${part}/binary-${arch} - (cd volatile/${dist}-volatile/${part}/binary-${arch} && + echo retrieve Packages $dist-volatile/$part/$arch + test -d us/${dist}-volatile/${part}/binary-${arch} || mkdir -p us/${dist}-volatile/${part}/binary-${arch} + (cd us/${dist}-volatile/${part}/binary-${arch} && wget -q -N ${volatile_ftpsite}/dists/${dist}/volatile/${part}/binary-${arch}/Packages.gz) done done for part in ${parts} do - echo retrieve Sources $dist/$part/volatile - test -d volatile/${dist}-volatile/${part}/source || mkdir -p volatile/${dist}-volatile/${part}/source - (cd volatile/${dist}/${part}-volatile/source && + echo retrieve Sources $dist-volatile/$part + test -d us/${dist}-volatile/${part}/source || mkdir -p us/${dist}-volatile/${part}/source + (cd us/${dist}-volatile/$part/source && wget -q -N ${volatile_ftpsite}/dists/${dist}/volatile/${part}/source/Sources.gz) done done -- 2.39.2