3 . `dirname $0`/../config.sh
5 test -d ${archivedir} || mkdir -p ${archivedir}
10 for dist in sarge etch
12 echo "retrieve Release(.gpg) $dist-backports"
13 test -d backports/${dist}-backports || mkdir -p backports/${dist}-backports
14 (cd backports/${dist}-backports &&
15 wget -q -N ${backports_ftpsite}/dists/${dist}-backports/Release &&
16 wget -q -N ${backports_ftpsite}/dists/${dist}-backports/Release.gpg )
18 foo=\$arch_${dist//-/_}
19 for arch in `eval echo $foo`
23 echo retrieve Packages $dist-backports/$part/$arch
24 test -d backports/${dist}-backports/${part}/binary-${arch} || mkdir -p backports/${dist}-backports/${part}/binary-${arch}
25 (cd backports/${dist}-backports/${part}/binary-${arch} &&
26 wget -q -N ${backports_ftpsite}/dists/${dist}-backports/${part}/binary-${arch}/Packages.gz)
28 echo retrieve Contents $dist-backports/$arch
29 (cd backports/${dist}-backports &&
30 wget -q -N ${backports_ftpsite}/dists/${dist}-backports/Contents-${arch}.gz)
34 echo retrieve Sources $dist-backports/$part
35 test -d backports/${dist}-backports/${part}/source || mkdir -p backports/${dist}-backports/${part}/source
36 (cd backports/${dist}-backports/${part}/source &&
37 wget -q -N ${backports_ftpsite}/dists/${dist}-backports/${part}/source/Sources.gz)