chiark / gitweb /
my-debmirror: Get sarge and sid explicitly and create symlinks to them from
authorColin Watson <cjwatson@chiark.greenend.org.uk>
Sun, 11 Jul 2004 22:37:06 +0000 (22:37 +0000)
committerColin Watson <cjwatson@chiark.greenend.org.uk>
Sun, 11 Jul 2004 22:37:06 +0000 (22:37 +0000)
testing and unstable respectively, rather than the other way round.
Fix ignores.

my-debmirror

index 75ad121..03c2048 100755 (executable)
@@ -1,22 +1,23 @@
 #! /bin/sh
 DEB_MIRROR=${DEB_MIRROR:-ftp.de.debian.org}
 debmirror /mirror/debian -h "$DEB_MIRROR" --passive \
-         --dist=testing,unstable \
+         --dist=sarge,sid \
          --section=main,contrib,non-free,main/debian-installer \
          --arch=i386,powerpc --getcontents \
-         --ignore=non-US/,doc/,indices/,tools/,main/installer- "$@"
+         --ignore=^README --ignore=^non-US/ --ignore=^doc/ \
+         --ignore=^indices/ --ignore=^tools/ --ignore=main/installer- "$@"
 debmirror /mirror/debian/non-US -h "$DEB_MIRROR" -r /debian-non-US --passive \
-         --dist=testing/non-US,unstable/non-US \
+         --dist=sarge/non-US,sid/non-US \
          --arch=i386,powerpc --getcontents "$@"
-ln -sf testing /mirror/debian/dists/sarge
-ln -sf unstable /mirror/debian/dists/sid
-ln -sf testing /mirror/debian/non-US/dists/sarge
-ln -sf unstable /mirror/debian/non-US/dists/sid
+ln -sf sarge /mirror/debian/dists/testing
+ln -sf sid /mirror/debian/dists/unstable
+ln -sf sarge /mirror/debian/non-US/dists/testing
+ln -sf sid /mirror/debian/non-US/dists/unstable
 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 dist in sarge sid; do
        for arch in i386 powerpc; do
                rsync -aqz "$DEB_MIRROR::debian/dists/$dist/main/installer-$arch/" \
                        "/mirror/debian/dists/$dist/main/installer-$arch/"