From: Frank Lichtenheld Date: Wed, 5 Sep 2007 01:18:19 +0000 (+0200) Subject: 100syncarchive: Fix retrieval of Release{.gpg} from local mirror X-Git-Url: https://git.deb.at/?a=commitdiff_plain;h=7f261c49b0b932c5cf04b107bac3bc8aad5f642c;p=deb%2Fpackages.git 100syncarchive: Fix retrieval of Release{.gpg} from local mirror When you copy & paste a wget commandline and change it to a rsync commandline, don't forget to add an actual target. --- diff --git a/cron.d/100syncarchive b/cron.d/100syncarchive index 1436bd9..8048659 100755 --- a/cron.d/100syncarchive +++ b/cron.d/100syncarchive @@ -52,8 +52,8 @@ else echo "retrieve Releases(.gpg) $dist" test -d us/${dist} || mkdir -p us/${dist} (cd us/${dist} && - rsync -t ${localdir}/dists/${dist}/Release && - rsync -t ${localdir}/dists/${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`