chiark / gitweb /
etc/mirrors.d/50-debian: Force IPv4 in rsync.
authorMark Wooding <mdw@distorted.org.uk>
Thu, 3 May 2012 01:06:54 +0000 (02:06 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Fri, 11 May 2012 18:51:16 +0000 (19:51 +0100)
Otherwise stage 2 tends to go wrong.  For some reason.

etc/mirrors.d/50-debian

index 7f65d0dd553e16ee4e5380ec2ce3b5cbda2ef203..c17194db62b1eb61ed7ce64257fb191a4af1ba73 100755 (executable)
@@ -3,5 +3,5 @@
 ### Mirror Debian archives.
 
 for archive in debian-security debian; do
-  bin/ftpsync sync:all sync:archive:$archive
+  RSYNC="rsync -4" bin/ftpsync sync:all sync:archive:$archive
 done