chiark / gitweb /
bugzilla-show: use HTTPS; drop warthogs and ubuntu
[bin.git] / my-debmirror
index fc0cbf324ce4a5e28bd7a25f67ee5a4bd284a963..3e00327027a239fd190b5eaf194a9d914c48d255 100755 (executable)
@@ -1,7 +1,13 @@
 #! /bin/sh
-DEB_MIRROR=${DEB_MIRROR:-ftp.de.debian.org}
-debmirror /mirror/debian -h "$DEB_MIRROR" --passive \
-         --nosource --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 \
-         --nosource -d unstable/non-US --arch=i386,powerpc --getcontents "$@"
+set -e
+unset http_proxy
+DEB_MIRROR=${DEB_MIRROR:-ftp.uk.debian.org}
+debmirror /mirror/debian -h "$DEB_MIRROR" --method http \
+         --dist=buster,bullseye,sid,experimental \
+         --section=main,main/debian-installer \
+         --arch=amd64 --getcontents \
+         --rsync-extra=doc,indices,tools,trace \
+         --i18n \
+         --keyring=/usr/share/keyrings/debian-archive-keyring.gpg \
+         --exclude='i18n/Translation-' --include='i18n/Translation-en' \
+         "$@"