]> git.deb.at Git - deb/packages.git/commitdiff
100syncarchive: Really fix retrieval of Release(.gpg) files
authorFrank Lichtenheld <frank@lichtenheld.de>
Tue, 11 Sep 2007 14:54:56 +0000 (16:54 +0200)
committerFrank Lichtenheld <frank@lichtenheld.de>
Tue, 11 Sep 2007 14:54:56 +0000 (16:54 +0200)
7f261c49b0b932c5cf04b107bac3bc8aad5f642c attempted to fix the
retrieval of the Release(.gpg) files from a local mirror but
really didn't because it didn't accounted for the chdir before
the rsync call. Really fix it this time y removing the chdir.

cron.d/100syncarchive

index 804865959ff054345af9abb5ce6e5cac1bb3f808..5cb5af4e2769af6a5ef098560b5a0886b72f8fc6 100755 (executable)
@@ -51,9 +51,8 @@ else
     do
         echo "retrieve Releases(.gpg) $dist"
        test -d us/${dist} || mkdir -p us/${dist}
-       (cd us/${dist} &&
-           rsync -t ${localdir}/dists/${dist}/Release us/${dist}/Release &&
-           rsync -t ${localdir}/dists/${dist}/Release.gpg us/${dist}/Release.gpg )
+       rsync -t ${localdir}/dists/${dist}/Release us/${dist}/Release
+       rsync -t ${localdir}/dists/${dist}/Release.gpg us/${dist}/Release.gpg
 
        foo=\$arch_${dist//-/_}
        for arch in `eval echo $foo`