From 1fd351d7eca71c0df3b8bf58a461f0e6d3f267a8 Mon Sep 17 00:00:00 2001 From: Frank Lichtenheld Date: Thu, 12 Apr 2007 21:31:14 +0200 Subject: [PATCH] non-US: don't download anymore Don't try to download any non-US information anymore. Don't delete the various non-US hacks from the parsing and displaying code yet. This can be done as a second step. --- config.sh.sed.in | 2 +- cron.d/100syncarchive | 28 ---------------------------- 2 files changed, 1 insertion(+), 29 deletions(-) diff --git a/config.sh.sed.in b/config.sh.sed.in index c881b99..7addf96 100644 --- a/config.sh.sed.in +++ b/config.sh.sed.in @@ -40,7 +40,7 @@ root="" # 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 amd64 kfreebsd backports volatile" +archives="us security amd64 kfreebsd backports volatile" sections="main contrib non-free" parts="$sections" suites="oldstable stable stable-volatile stable-backports testing unstable experimental" diff --git a/cron.d/100syncarchive b/cron.d/100syncarchive index 46da47f..55589d8 100755 --- a/cron.d/100syncarchive +++ b/cron.d/100syncarchive @@ -80,34 +80,6 @@ else done fi -# Non-US archive -# -for dist in oldstable -do - foo=\$arch_${dist//-/_} - for arch in `eval echo $foo` - do - for part in ${parts} - do - echo retrieve Packages $dist/$part/non-US/$arch - test -d non-US/${dist}/${part}/binary-${arch} || mkdir -p non-US/${dist}/${part}/binary-${arch} - (cd non-US/${dist}/${part}/binary-${arch} && - wget -q -N ${nonus_ftpsite}/dists/${dist}/non-US/${part}/binary-${arch}/Packages.gz) - done - #FIXME: no Contents files for p-u - echo retrieve Contents $dist/non-US/$arch - (cd non-US/${dist} && - wget -q -N ${nonus_ftpsite}/dists/${dist}/non-US/Contents-${arch}.gz) - done - for part in ${parts} - do - echo retrieve Sources $dist/$part/non-US - test -d non-US/${dist}/${part}/source || mkdir -p non-US/${dist}/${part}/source - (cd non-US/${dist}/${part}/source && - wget -q -N ${nonus_ftpsite}/dists/${dist}/non-US/${part}/source/Sources.gz) - done -done - # security archive # for dist in oldstable stable testing -- 2.39.2