chiark / gitweb /
my-debmirror: Mirror README*, doc/, indices/, tools/, and
authorColin Watson <cjwatson@chiark.greenend.org.uk>
Tue, 15 Jun 2004 22:55:56 +0000 (22:55 +0000)
committerColin Watson <cjwatson@chiark.greenend.org.uk>
Tue, 15 Jun 2004 22:55:56 +0000 (22:55 +0000)
installer-{i386,powerpc}.

my-debmirror

index 047197a..db5477a 100755 (executable)
@@ -2,6 +2,17 @@
 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/ "$@"
+         --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 "$@"
+rsync -aqz "$DEB_MIRROR::debian/README*" /mirror/debian/
+for dir in doc indices tools; do
+       rsync -aqz "$DEB_MIRROR::debian/$dir/" "/mirror/debian/$dir/"
+done
+for dist in testing unstable; do
+       for arch in i386 powerpc; do
+               rsync -aqz "$DEB_MIRROR::debian/dists/$dist/main/installer-$arch/" \
+                       "/mirror/debian/dists/$dist/main/installer-$arch/"
+       done
+done