]> git.deb.at Git - deb/packages.git/commitdiff
syncarchive_installer: Don't assume there are no udebs outside of main
authorFrank Lichtenheld <frank@lichtenheld.de>
Fri, 1 Feb 2008 01:38:05 +0000 (02:38 +0100)
committerFrank Lichtenheld <frank@lichtenheld.de>
Fri, 1 Feb 2008 01:38:05 +0000 (02:38 +0100)
cron.d/100syncarchive_installer

index 6e07052cbd38b211e1e01c16d4a4feec8e11b9ee..ea9598911cf83c787120c31f66d3cf5efc9714b4 100755 (executable)
@@ -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 \