X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~cjwatson/git?p=bin.git;a=blobdiff_plain;f=my-debmirror;h=7a3cc28e2798f890fcad514ce9f4c2c6d3b8fbe0;hp=047197af841a9f65f69cd49f342c186386ba876c;hb=b238980e7533a97a6e14c1fdbc7f4da91e924001;hpb=5f4d7eba2e9e4274ffb98ef76e77b3a325dcb672 diff --git a/my-debmirror b/my-debmirror index 047197a..7a3cc28 100755 --- a/my-debmirror +++ b/my-debmirror @@ -1,7 +1,12 @@ #! /bin/sh -DEB_MIRROR=${DEB_MIRROR:-ftp.de.debian.org} -debmirror /mirror/debian -h "$DEB_MIRROR" --passive \ - --section=main,contrib,non-free,main/debian-installer \ - --arch=i386,powerpc --getcontents --ignore=non-US/ "$@" -debmirror /mirror/debian/non-US -h "$DEB_MIRROR" -r /debian-non-US --passive \ - -d unstable/non-US --arch=i386,powerpc --getcontents "$@" +set -e +unset http_proxy +DEB_MIRROR=${DEB_MIRROR:-ftp.se.debian.org} +debmirror /mirror/debian -h "$DEB_MIRROR" --method http \ + --dist=wheezy,jessie,sid,experimental \ + --section=main,main/debian-installer \ + --arch=i386 --getcontents \ + --rsync-extra=doc,indices,tools,trace \ + --i18n \ + --exclude='i18n/Translation-' --include='i18n/Translation-en' \ + "$@"