From: Frank Lichtenheld Date: Sun, 21 Oct 2007 02:39:19 +0000 (+0200) Subject: [UBUNTU] 100syncharchive: Fix download of security data X-Git-Url: https://git.deb.at/w?a=commitdiff_plain;h=85bf58b0a4805810e85b3575a66a17948631956e;p=deb%2Fpackages.git [UBUNTU] 100syncharchive: Fix download of security data --- diff --git a/cron.d/100syncarchive b/cron.d/100syncarchive index aa73217..789063b 100755 --- a/cron.d/100syncarchive +++ b/cron.d/100syncarchive @@ -80,18 +80,18 @@ do echo "retrieve Release(.gpg) $dist" test -d security/${dist} || mkdir -p security/${dist} (cd security/${dist} && - wget -q -N ${security_ftpsite}/dists/${dist}/updates/Release && - wget -q -N ${security_ftpsite}/dists/${dist}/updates/Release.gpg ) + wget -q -N ${security_ftpsite}/dists/${dist}-security/Release && + wget -q -N ${security_ftpsite}/dists/${dist}-security/Release.gpg ) foo=\$arch_${dist//-/_} for arch in `eval echo $foo` do for part in ${parts} do - echo retrieve Packages $dist/$part/security/$arch + echo retrieve Packages $dist-security/$part/$arch test -d security/${dist}/${part}/binary-${arch} || mkdir -p security/${dist}/${part}/binary-${arch} (cd security/${dist}/${part}/binary-${arch} && - wget -q -N ${security_ftpsite}/dists/${dist}/updates/${part}/binary-${arch}/Packages.gz) + wget -q -N ${security_ftpsite}/dists/${dist}-security/${part}/binary-${arch}/Packages.gz) done done for part in ${parts} @@ -99,6 +99,6 @@ do echo retrieve Sources $dist/$part/security test -d security/${dist}/${part}/source || mkdir -p security/${dist}/${part}/source (cd security/${dist}/${part}/source && - wget -q -N ${security_ftpsite}/dists/${dist}/updates/${part}/source/Sources.gz) + wget -q -N ${security_ftpsite}/dists/${dist}-security/${part}/source/Sources.gz) done done