summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-01-23 17:40:40 +0000
committerKarl Berry <karl@freefriends.org>2020-01-23 17:40:40 +0000
commit5863810e5faba74a8a09301068e79851c3b8d57b (patch)
treeda2020a287797e42115470cbba7999cd9d61ee11
parentfa1f0d5f56c122767cc8fbd545aa1c63df4d6b39 (diff)
README not exec; skip mirror update on odd days
git-svn-id: svn://tug.org/texlive/trunk@53499 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--[-rwxr-xr-x]Master/texmf-dist/doc/context/third/letter/README0
-rwxr-xr-xMaster/tlpkg/bin/tl-update-auto7
2 files changed, 4 insertions, 3 deletions
diff --git a/Master/texmf-dist/doc/context/third/letter/README b/Master/texmf-dist/doc/context/third/letter/README
index 34f18e3b175..34f18e3b175 100755..100644
--- a/Master/texmf-dist/doc/context/third/letter/README
+++ b/Master/texmf-dist/doc/context/third/letter/README
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.