-#! /bin/bash
-
-. `dirname $0`/../config.sh
-
-test -d ${archivedir} || mkdir -p ${archivedir}
-cd ${archivedir}
-
-# Main archive
-#
-arch=amd64
-
-for dist in sarge
- do
- echo "retrieve Release(.gpg) $dist"
- test -d amd64/${dist} || mkdir -p amd64/${dist}
- (cd amd64/${dist} &&
- $wget_cmd -N ${amd64_ftpsite}/dists/${dist}/Release &&
- $wget_cmd -N ${amd64_ftpsite}/dists/${dist}/Release.gpg )
-
- for part in ${parts} main/debian-installer
- do
- echo retrieve Packages $dist/$part/$arch
- test -d amd64/${dist}/${part}/binary-${arch} || mkdir -p amd64/${dist}/${part}/binary-${arch}
- (cd amd64/${dist}/${part}/binary-${arch} &&
- $wget_cmd -N ${amd64_ftpsite}/dists/${dist}/${part}/binary-${arch}/Packages.gz)
- done
- echo retrieve Contents $dist/$arch
- (cd amd64/${dist} &&
- $wget_cmd -N ${amd64_ftpsite}/dists/${dist}/Contents-${arch}.gz)
-
- $check_release_cmd $archivedir/amd64/${dist}/Release
-done
-