When you copy & paste a wget commandline and change it to a rsync
commandline, don't forget to add an actual target.
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`