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 7f65d0d..c17194d 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