]> err.no Git - dak/commitdiff
Joy's nonus mirrorlist patch
authorAntti-Juhani Kaijanaho <ajk@debian.org>
Thu, 25 Jan 2001 19:05:09 +0000 (19:05 +0000)
committerAntti-Juhani Kaijanaho <ajk@debian.org>
Thu, 25 Jan 2001 19:05:09 +0000 (19:05 +0000)
update-mirrorlists

index 864fbb390e4bc43454a5e0fc80b7f6e51318b7e6..4e984f285df2ad9e243e31e39b5527ca88fce7f2 100755 (executable)
@@ -20,5 +20,9 @@ if [ ! -f $ftpdir/README.mirrors.html -o $masterlist -nt $ftpdir/README.mirrors.
        rm -f $ftpdir/README.mirrors.html $ftpdir/README.mirrors.txt
        $prog -m $masterlist -t html > $ftpdir/README.mirrors.html
        $prog -m $masterlist -t text > $ftpdir/README.mirrors.txt
+       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
+       fi
        echo Updated archive version of mirrors file
 fi