chiark / gitweb /
sponge: I've lost the original C source for this. Replace with a simple Perl
[bin.git] / my-debmirror
1 #! /bin/sh
2 DEB_MIRROR=${DEB_MIRROR:-ftp.de.debian.org}
3 debmirror /mirror/debian -h "$DEB_MIRROR" --passive \
4           --nosource --section=main,contrib,non-free,main/debian-installer \
5           --getcontents --ignore=non-US/ "$@" 2>&1 >/dev/null | \
6           grep -v 'debian-installer.*Release' 1>&2
7 debmirror /mirror/debian/non-US -h "$DEB_MIRROR" -r /debian-non-US --passive \
8           --nosource -d unstable/non-US --getcontents "$@"