]> git.deb.at Git - deb/packages.git/blob - cron.d/100syncarchive_kfreebsd
Add a list of fields from Packages/Sources we currently don't use
[deb/packages.git] / cron.d / 100syncarchive_kfreebsd
1 #! /bin/bash
2
3 . `dirname $0`/../config.sh
4
5 test -d ${archivedir} || mkdir -p ${archivedir}
6 cd ${archivedir}
7
8 # Main archive
9 #
10 architectures="kfreebsd-i386 kfreebsd-amd64"
11
12 for arch in $architectures
13   do
14   for dist in unstable experimental
15     do
16     for part in ${parts} main/debian-installer
17       do
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)
22     done
23     echo retrieve Contents $dist/$arch
24     (cd kfreebsd/${dist} &&
25         wget -q -N ${kfreebsd_ftpsite}/dists/${dist}/Contents-${arch}.gz)
26   done
27 done