chiark / gitweb /
my-debmirror: Mirror testing as well as unstable.
authorColin Watson <cjwatson@chiark.greenend.org.uk>
Tue, 15 Jun 2004 22:58:24 +0000 (22:58 +0000)
committerColin Watson <cjwatson@chiark.greenend.org.uk>
Tue, 15 Jun 2004 22:58:24 +0000 (22:58 +0000)
my-debmirror

index db5477a..6fa7952 100755 (executable)
@@ -1,11 +1,13 @@
 #! /bin/sh
 DEB_MIRROR=${DEB_MIRROR:-ftp.de.debian.org}
 debmirror /mirror/debian -h "$DEB_MIRROR" --passive \
+         --dist=testing,unstable \
          --section=main,contrib,non-free,main/debian-installer \
          --arch=i386,powerpc --getcontents \
          --ignore=non-US/,doc/,indices/,tools/,main/installer- "$@"
 debmirror /mirror/debian/non-US -h "$DEB_MIRROR" -r /debian-non-US --passive \
-         -d unstable/non-US --arch=i386,powerpc --getcontents "$@"
+         --dist=testing/non-US,unstable/non-US \
+         --arch=i386,powerpc --getcontents "$@"
 rsync -aqz "$DEB_MIRROR::debian/README*" /mirror/debian/
 for dir in doc indices tools; do
        rsync -aqz "$DEB_MIRROR::debian/$dir/" "/mirror/debian/$dir/"