do
echo "retrieve Releases(.gpg) $dist"
test -d us/${dist} || mkdir -p us/${dist}
- rsync -t ${localdir}/dists/${dist}/Release us/${dist}/Release
- rsync -t ${localdir}/dists/${dist}/Release.gpg us/${dist}/Release.gpg
+ rsync -Lt ${localdir}/dists/${dist}/Release us/${dist}/Release
+ rsync -Lt ${localdir}/dists/${dist}/Release.gpg us/${dist}/Release.gpg
foo=\$arch_${dist//-/_}
for arch in `eval echo $foo`
do
echo retrieve Packages $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 \
+ rsync -Lt ${localdir}/dists/${dist}/${part}/binary-${arch}/Packages.gz \
us/${dist}/${part}/binary-${arch}/Packages.gz
done
#FIXME: no Contents files for p-u
+ #FIXME: the symlinks for wheezy/sid/experimental will go away
+ #FIXME: this only pulls in the contents files for main in wheezy/sid/experimental
echo retrieve Contents $dist/$arch
- rsync -t ${localdir}/dists/${dist}/Contents-${arch}.gz \
+ rsync -Lt ${localdir}/dists/${dist}/Contents-${arch}.gz \
us/${dist}/Contents-${arch}.gz
done
for part in ${parts}
do
echo retrieve Sources $dist/$part
test -d us/${dist}/${part}/source || mkdir -p us/${dist}/${part}/source
- rsync -t ${localdir}/dists/${dist}/${part}/source/Sources.gz \
+ rsync -Lt ${localdir}/dists/${dist}/${part}/source/Sources.gz \
us/${dist}/${part}/source/Sources.gz
done
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 \
+ rsync -Lt ${localdir}/dists/${dist}/${part}/binary-${arch}/Packages.gz \
us/${dist}/${part}/binary-${arch}/Packages.gz
done
done
do
locale=$(echo $lang|perl -p -e 's/^([a-z]{2})-([a-z]{2})$/"$1_".uc($2)/e')
echo "retrieve translated Descs $dist/$part/$lang ($locale)"
- rsync -t ${localdir}/dists/${dist}/${part}/i18n/Translation-$locale.bz2 \
+ rsync -Lt ${localdir}/dists/${dist}/${part}/i18n/Translation-$locale.bz2 \
us/${dist}/${part}/i18n/Translation-$locale.bz2
done
done