]> git.deb.at Git - deb/packages.git/blob - cron.d/100syncarchive_amd64
Move more messages from DoSearch.pm to search.tmpl, similar to what
[deb/packages.git] / cron.d / 100syncarchive_amd64
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 arch=amd64
11
12 for dist in stable
13   do
14   for part in ${parts} main/debian-installer
15     do
16     echo retrieve Packages $dist/$part/$arch
17     test -d amd64/${dist}/${part}/binary-${arch} || mkdir -p amd64/${dist}/${part}/binary-${arch}
18     (cd amd64/${dist}/${part}/binary-${arch} &&
19         wget -q -N ${amd64_ftpsite}/dists/${dist}/${part}/binary-${arch}/Packages.gz)
20   done
21   echo retrieve Contents $dist/$arch
22   (cd amd64/${dist} &&
23       wget -q -N ${amd64_ftpsite}/dists/${dist}/Contents-${arch}.gz)
24 done
25