]> git.decadent.org.uk Git - dak.git/commitdiff
added automatic updating of README.non-US for pandora, and mailing-lists.txton auric.
authorMichael Beattie <mjb@debian.org>
Thu, 31 May 2001 12:52:49 +0000 (12:52 +0000)
committerMichael Beattie <mjb@debian.org>
Thu, 31 May 2001 12:52:49 +0000 (12:52 +0000)
cron.daily
cron.daily-non-US
update-mailingliststxt [new file with mode: 0755]
update-mirrorlists
update-readmenonus [new file with mode: 0755]
vars

index 62511c0b441e1b7d455595510cb71743b10e587f..61f74db985dc27fea639c046ea5dd0f3686297a4 100755 (executable)
@@ -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
 
 ################################################################################
 
index d827f417bdfe6ae93ed19de4246e33809564d9e6..770c691413889c4296509114371d26149549e14a 100755 (executable)
@@ -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 (executable)
index 0000000..85e0d8b
--- /dev/null
@@ -0,0 +1,13 @@
+#!/bin/sh
+#
+# Fetches latest copy of mailing-lists.txt
+# Michael Beattie <mjb@debian.org>
+
+. 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..."
+
index 4e984f285df2ad9e243e31e39b5527ca88fce7f2..b68a870cd6714a6cf6d55ad2de91711d49084757 100755 (executable)
@@ -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 (executable)
index 0000000..b90066a
--- /dev/null
@@ -0,0 +1,13 @@
+#!/bin/sh
+#
+# Fetches up to date copy of REAME.non-US for pandora
+# Michael Beattie <mjb@debian.org>
+
+. 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 053f34f1d48f57252932b6d74b9b4239217266df..8451de50486a210abad73ad45b2e679ceff71d91 100644 (file)
--- 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"