diff options
Diffstat (limited to 'Master/tlpkg/bin/tl-update-auto')
-rwxr-xr-x | Master/tlpkg/bin/tl-update-auto | 7 |
1 files changed, 4 insertions, 3 deletions
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. |