#!/bin/sh
cd /var/lib/dpkg/files

DISTS="stable \
      testing \
      unstable"


for dist in $DISTS ; do
  wget --quiet ftp://nonus.debian.org/debian-non-US/dists/${dist}/non-US/Contents-i386.gz
  mv Contents-i386.gz Contents-i386.${dist}.non-US.gz
done
## ln -s /m/debian-mirror/dists/testing/Contents-i386.gz Contents-i386.testing.gz

for dist in $DISTS ; do
  wget --quiet ftp://ftp.de.debian.org/debian/dists/${dist}/Contents-i386.gz
  mv Contents-i386.gz Contents-i386.${dist}.gz
done

rm -f ls-lR.gz
wget --quiet ftp://ftp.de.debian.org/debian/ls-lR.gz
