3 . `dirname $0`/../config.sh
5 test -d ${archivedir} || mkdir -p ${archivedir}
10 architectures="kfreebsd-i386 kfreebsd-amd64"
12 for arch in $architectures
14 for dist in unstable experimental
16 for part in ${parts} main/debian-installer
18 echo retrieve Packages $dist/$part/$arch
19 test -d kfreebsd/${dist}/${part}/binary-${arch} || mkdir -p kfreebsd/${dist}/${part}/binary-${arch}
20 (cd kfreebsd/${dist}/${part}/binary-${arch} &&
21 wget -q -N ${kfreebsd_ftpsite}/dists/${dist}/${part}/binary-${arch}/Packages.gz)
23 echo retrieve Contents $dist/$arch
24 (cd kfreebsd/${dist} &&
25 wget -q -N ${kfreebsd_ftpsite}/dists/${dist}/Contents-${arch}.gz)