3 . `dirname $0`/../config.sh
5 test -d ${archivedir} || mkdir -p ${archivedir}
10 if [ -z "${localdir}" ]
12 echo using remote mirror
16 foo=\$arch_${dist//-/_}
17 for arch in `eval echo $foo`
21 part="$part/debian-installer"
22 echo retrieve Packages $dist/$part/$arch
23 test -d us/${dist}/${part}/binary-${arch} || mkdir -p us/${dist}/${part}/binary-${arch}
24 (cd us/${dist}/${part}/binary-${arch} &&
25 $wget_cmd -N ${ftpsite}/dists/${dist}/${part}/binary-${arch}/Packages.gz)
29 $check_release_cmd $archivedir/us/${dist}/Release
32 echo using local mirror
36 foo=\$arch_${dist//-/_}
37 for arch in `eval echo $foo`
41 part="$part/debian-installer"
42 echo retrieve Sources $dist/$part/$arch
43 test -d us/${dist}/${part}/binary-${arch} || mkdir -p us/${dist}/${part}/binary-${arch}
44 rsync -Lt ${localdir}/dists/${dist}/${part}/binary-${arch}/Packages.gz \
45 us/${dist}/${part}/binary-${arch}/Packages.gz
49 $check_release_cmd $archivedir/us/${dist}/Release