From 7f261c49b0b932c5cf04b107bac3bc8aad5f642c Mon Sep 17 00:00:00 2001 From: Frank Lichtenheld Date: Wed, 5 Sep 2007 03:18:19 +0200 Subject: [PATCH] 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. --- cron.d/100syncarchive | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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` -- 2.39.2