summaryrefslogtreecommitdiff
path: root/Master/tlpkg/tlpsrc
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2024-01-31 21:52:46 +0000
committerKarl Berry <karl@freefriends.org>2024-01-31 21:52:46 +0000
commit96db2749833ba6ad4cfc1fefdceaf43c14bb9219 (patch)
treeeecf2e53379afe32f0d2cb599b622c0bb836b324 /Master/tlpkg/tlpsrc
parent2c188c92c394cd5b32f4352801a71fe6ac1417a5 (diff)
redirect output from context cache updating to tlmgr-commands.log or
install-tl.log, not the terminal. TLPDB.pm (_post_installpackage): new fn for common post-install code, including now recording the "context-cache" action for the context package. (install_package_files): call it. (_not_virtual_install_package): call it. (install_package): explicitly return undef on failure (unrelated). TLUtils.pm (announce_execute_actions): handle context-cache action by setting the new global $::context_cache_update_needed. tlmgr.pl (handle_execute-actions): call TLUtils::update_context_cache if the global is set. (run_postinst_logcommand): new function to run the context cache commands. (logcommand_bare): write to tlmgr-commands.log with no timestamp. tlpkg/context.tlpsrc: remove postaction. tlpkg/tlpostcode/cont-cache.{cmd,sh}: remove these scripts, as now the commands are hardwired in the code, so we can redirect the output. git-svn-id: svn://tug.org/texlive/trunk@69653 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/tlpsrc')
-rw-r--r--Master/tlpkg/tlpsrc/context.tlpsrc7
1 files changed, 4 insertions, 3 deletions
diff --git a/Master/tlpkg/tlpsrc/context.tlpsrc b/Master/tlpkg/tlpsrc/context.tlpsrc
index 82242870347..b992c5f2f9e 100644
--- a/Master/tlpkg/tlpsrc/context.tlpsrc
+++ b/Master/tlpkg/tlpsrc/context.tlpsrc
@@ -20,9 +20,10 @@ depend stmaryrd
# same tree.
# OTOH, all context mkiv/lmtx formats will be generated as needed.
-postaction script file=tlpkg/tlpostcode/cont-cache.sh \
- filew32=tlpkg/tlpostcode/cont-cache.cmd
-#
+# there are special cases in install-tl and tlmgr to create/update the
+# context cache files when this package is updated. See the
+# update_context_cache routine in TLUtils for the commands run.
+
# contnav, hans, hans-sh fonts.
execute addMap original-context-symbol.map