#! /bin/sh -e
DEB_MIRROR=${DEB_MIRROR:-ftp.de.debian.org}
debmirror /mirror/debian -h "$DEB_MIRROR" --passive \
- --nosource --section=main,main/debian-installer --getcontents \
- --ignore=non-US/ "$@"
+ --nosource --section=main,contrib,non-free,main/debian-installer \
+ --getcontents --ignore=non-US/ "$@" 2>&1 >/dev/null | \
+ grep -v 'debian-installer.*Release' 1>&2
debmirror /mirror/debian/non-US -h "$DEB_MIRROR" -r /debian-non-US --passive \
- --nosource --section=main -d unstable/non-US --getcontents "$@"
+ --nosource -d unstable/non-US --getcontents "$@"