From: Frank Lichtenheld Date: Fri, 1 Feb 2008 01:38:05 +0000 (+0100) Subject: syncarchive_installer: Don't assume there are no udebs outside of main X-Git-Url: https://git.deb.at/?a=commitdiff_plain;h=73bcc2bf71f4062b7507ef58b0579b1b6d3cefab;p=deb%2Fpackages.git syncarchive_installer: Don't assume there are no udebs outside of main --- diff --git a/cron.d/100syncarchive_installer b/cron.d/100syncarchive_installer index 6e07052..ea95989 100755 --- a/cron.d/100syncarchive_installer +++ b/cron.d/100syncarchive_installer @@ -20,8 +20,9 @@ then foo=\$arch_${dist//-/_} for arch in `eval echo $foo` do - for part in "main/debian-installer" + for part in $parts do + part="$part/debian-installer" 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} && @@ -41,8 +42,9 @@ else foo=\$arch_${dist//-/_} for arch in `eval echo $foo` do - for part in "main/debian-installer" + for part in $parts do + part="$part/debian-installer" echo retrieve Sources $dist/$part/$arch test -d us/${dist}/${part}/binary-${arch} || mkdir -p us/${dist}/${part}/binary-${arch} rsync -t ${localdir}/dists/${dist}/${part}/binary-${arch}/Packages.gz \