/[svn.andrew.net.au]/changelogs.debian.net/update_source
ViewVC logotype

Annotation of /changelogs.debian.net/update_source

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4 - (hide annotations)
Wed Jun 28 04:30:16 2006 UTC (15 years, 3 months ago) by apollock
File size: 698 byte(s)
Initial import of changelogs.debian.net

1 apollock 4 #!/bin/sh
2    
3     #
4     # Copyright (c) 2006 Andrew Pollock
5     # Permission to modify, redestribute, use, abuse, heap scorn upon granted
6     # under the GNU General Public Licence v2
7     #
8    
9     rsync -aqz rsync://rsync.planetmirror.com/debian/dists/unstable/main/source/Sources.gz /srv/andrew.net.au/changelogs
10    
11     RC=$?
12    
13     while [ $RC -ne 0 ]
14     do
15     echo "Return code from rsync was $RC, retrying in 5 minutes"
16     sleep 300
17     rsync -aqz rsync://rsync.planetmirror.com/debian/dists/unstable/main/source/Sources.gz /srv/andrew.net.au/changelogs
18     RC=$?
19     done
20    
21     gunzip -c /srv/andrew.net.au/changelogs/Sources.gz > /srv/andrew.net.au/changelogs/Sources.new
22     mv /srv/andrew.net.au/changelogs/Sources.new /srv/andrew.net.au/changelogs/Sources

Properties

Name Value
svn:executable

  ViewVC Help
Powered by ViewVC 1.1.22