]> git.deb.at Git - deb/packages.git/blob - cron.d/100syncarchive_maintainers
Merge branch 'debian-master' into debian-master-kalle
[deb/packages.git] / cron.d / 100syncarchive_maintainers
1 #! /bin/bash
2
3 . `dirname $0`/../config.sh
4
5 test -d ${archivedir} || mkdir -p ${archivedir}
6 cd ${archivedir}
7
8 # scp -q auric:/org/ftp.debian.org/ftp/indices/Maintainers .
9
10 if [ -f /org/ftp.root/debian/indices/Maintainers ]
11 then
12     if [ ! -s Maintainers -a -L Maintainers ]
13     then
14         ln -s /org/ftp.root/debian/indices/Maintainers .
15     fi
16 else
17     if [ ! -L Maintainers ]
18     then
19         $wget_cmd -O Maintainers $ftpsite/indices/Maintainers
20     fi
21 fi