texlive[53499] README not exec; skip mirror update on odd days
commits+karl at tug.org
commits+karl at tug.org
Thu Jan 23 18:40:40 CET 2020
Revision: 53499
http://tug.org/svn/texlive?view=revision&revision=53499
Author: karl
Date: 2020-01-23 18:40:40 +0100 (Thu, 23 Jan 2020)
Log Message:
-----------
README not exec; skip mirror update on odd days
Modified Paths:
--------------
trunk/Master/tlpkg/bin/tl-update-auto
Property Changed:
----------------
trunk/Master/texmf-dist/doc/context/third/letter/README
Index: trunk/Master/texmf-dist/doc/context/third/letter/README
===================================================================
--- trunk/Master/texmf-dist/doc/context/third/letter/README 2020-01-23 03:53:58 UTC (rev 53498)
+++ trunk/Master/texmf-dist/doc/context/third/letter/README 2020-01-23 17:40:40 UTC (rev 53499)
Property changes on: trunk/Master/texmf-dist/doc/context/third/letter/README
___________________________________________________________________
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Modified: trunk/Master/tlpkg/bin/tl-update-auto
===================================================================
--- trunk/Master/tlpkg/bin/tl-update-auto 2020-01-23 03:53:58 UTC (rev 53498)
+++ trunk/Master/tlpkg/bin/tl-update-auto 2020-01-23 17:40:40 UTC (rev 53499)
@@ -257,8 +257,9 @@
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 @@
else
echo "$0: ctan mirror data not retrievable, skipping." >&2
fi
-fi # !config_scripts_only
+fi # !config_scripts_only || !odd_day_num
#
svn commits.
More information about the tex-live-commits
mailing list