diff options
-rwxr-xr-x | Master/tlpkg/bin/tl-update-auto | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Master/tlpkg/bin/tl-update-auto b/Master/tlpkg/bin/tl-update-auto index f75902a412b..b95efb643d7 100755 --- a/Master/tlpkg/bin/tl-update-auto +++ b/Master/tlpkg/bin/tl-update-auto @@ -261,9 +261,12 @@ if $config_scripts_only; then :; else ls -l $mirrors4tl >&2 elif wget --quiet https://ctan.org/tex-archive/CTAN.sites -O $ctan_mirrors \ - && rsync rsync://comedy.dante.de/MirMon/mirmon.state $ctan_mirmon; then - $mydir/tl-update-ctan-mirrors -v $ctan_mirrors $ctan_mirmon >$mirrors4tl.new - if $diff $mirrors4tl $mirrors4tl.new; then + && rsync rsync://rsync.dante.ctan.org/MirMon/mirmon.state $ctan_mirmon; then + $mydir/tl-update-ctan-mirrors -v $ctan_mirrors $ctan_mirmon \ + >$mirrors4tl.new + if test $? -ne 0 || test ! -s $mirrors4tl.new; then + echo "$0: tl-update-ctan-mirrors apparently failed, skipping." >&2 + elif $diff $mirrors4tl $mirrors4tl.new; then $verbose " $mirrors4tl ok." rm -f $mirrors4tl.new else |