From: Michael Beattie Date: Thu, 31 May 2001 12:52:49 +0000 (+0000) Subject: added automatic updating of README.non-US for pandora, and mailing-lists.txton auric. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e38e1b4845d2404e76bd9bb993a7025a1ed693c;p=dak added automatic updating of README.non-US for pandora, and mailing-lists.txton auric. --- diff --git a/cron.daily b/cron.daily index 62511c0b..61f74db9 100755 --- a/cron.daily +++ b/cron.daily @@ -35,6 +35,7 @@ pg_dump projectb > /org/ftp.debian.org/backup/dump_$(date +%Y.%m.%d-%H:%M:%S) update-bugdoctxt update-mirrorlists +update-mailingliststxt ################################################################################ diff --git a/cron.daily-non-US b/cron.daily-non-US index d827f417..770c6914 100755 --- a/cron.daily-non-US +++ b/cron.daily-non-US @@ -33,6 +33,10 @@ pg_dump projectb > /org/non-us.debian.org/backup/dump_$(date +%Y.%m.%d-%H:%M:%S) ################################################################################ +update-readmenonus + +################################################################################ + cd $incoming rm -f REPORT katie -pak *.changes | direport | tee REPORT | \ diff --git a/update-mailingliststxt b/update-mailingliststxt new file mode 100755 index 00000000..85e0d8bb --- /dev/null +++ b/update-mailingliststxt @@ -0,0 +1,13 @@ +#!/bin/sh +# +# Fetches latest copy of mailing-lists.txt +# Michael Beattie + +. vars + +cd $ftpdir/doc + +echo Updating archive version of mailing-lists.txt +wget -t1 -T20 q -N http://www.debian.org/misc/mailing-lists.txt || \ + echo "Some error occured..." + diff --git a/update-mirrorlists b/update-mirrorlists index 4e984f28..b68a870c 100755 --- a/update-mirrorlists +++ b/update-mirrorlists @@ -23,6 +23,7 @@ if [ ! -f $ftpdir/README.mirrors.html -o $masterlist -nt $ftpdir/README.mirrors. if [ ! -f $ftpdir/README.non-US -o $masterlist -nt $ftpdir/README.non-US ] ; then rm -f $ftpdir/README.non-US $prog -m $masterlist -t nonus > $ftpdir/README.non-US + install -m 664 $ftpdir/README.non-US $webdir fi echo Updated archive version of mirrors file fi diff --git a/update-readmenonus b/update-readmenonus new file mode 100755 index 00000000..b90066ad --- /dev/null +++ b/update-readmenonus @@ -0,0 +1,13 @@ +#!/bin/sh +# +# Fetches up to date copy of REAME.non-US for pandora +# Michael Beattie + +. vars-non-US + +cd $ftpdir + +echo Updating non-US version of README.non-US +wget -t1 -T20 -q -N http://ftp-master.debian.org/README.non-US || \ + echo "Some error occured..." + diff --git a/vars b/vars index 053f34f1..8451de50 100644 --- a/vars +++ b/vars @@ -1,6 +1,7 @@ # locations used by many scripts ftpdir=/org/ftp.debian.org/ftp +webdir=/org/ftp.debian.org/web indices=$ftpdir/indices archs="alpha arm hppa hurd-i386 i386 m68k powerpc sparc mips mipsel sh"