From 5863810e5faba74a8a09301068e79851c3b8d57b Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 23 Jan 2020 17:40:40 +0000 Subject: README not exec; skip mirror update on odd days git-svn-id: svn://tug.org/texlive/trunk@53499 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tlpkg/bin/tl-update-auto | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Master/tlpkg/bin/tl-update-auto') diff --git a/Master/tlpkg/bin/tl-update-auto b/Master/tlpkg/bin/tl-update-auto index ebcbe313d67..bf2722811af 100755 --- a/Master/tlpkg/bin/tl-update-auto +++ b/Master/tlpkg/bin/tl-update-auto @@ -257,8 +257,9 @@ fi fi # !config_scripts_only -# ctan mirror list from ctan. -if $config_scripts_only; then :; else +# ctan mirror list from ctan. Also skip if odd-numbered day, +# just because daily seems a bit much. +if $config_scripts_only || test `expr $(date +%d) % 2 = 0`; then :; else ctan_mirrors=$TMPDIR/mirrors # incoming data from CTAN ctan_mirmon=$TMPDIR/mirmon.state mirrors4tl=tlpkg/installer/ctan-mirrors.pl # massaged for TL @@ -276,7 +277,7 @@ if $config_scripts_only; then :; else else echo "$0: ctan mirror data not retrievable, skipping." >&2 fi -fi # !config_scripts_only +fi # !config_scripts_only || !odd_day_num # svn commits. -- cgit v1.2.3