[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Debian JP master SVN www commits (rev.471)
=======================================================
Repository: /org/svn.debian.or.jp/repos
Revision: 471
Commiter: kmuto
Date: 2007-10-03 12:11:50 +0900 (水, 03 10月 2007)
=======================================================
Log:
hook for MirrorJP.list
=======================================================
Changed:
U www/trunk/progs/update
Modified: www/trunk/progs/update
===================================================================
--- www/trunk/progs/update 2007-09-30 15:38:35 UTC (rev 470)
+++ www/trunk/progs/update 2007-10-03 03:11:50 UTC (rev 471)
@@ -8,8 +8,11 @@
fi
cd /org/www.debian.or.jp/var/svn
-svn update
+RET=$(svn update | perl -e '$ret = ""; while (<>) {
+ $ret .="mirror " if /MirrorsJP.list/;
+ }; print "$ret"')
+
case "$1" in
recreate)
echo "remove all files from www directory and recreate..."
@@ -38,3 +41,10 @@
ttree
;;
esac
+
+if [ -n "$(echo $RET | grep mirror)" ]; then
+ echo "update mirror list..."
+ progs/make-link.sh
+ progs/make-sources.list.sh /org/www.debian.or.jp/var/www/using/apt
+ ttree using/mirror.tt2
+fi