diff options
author | Karl Berry <karl@freefriends.org> | 2024-01-31 21:52:46 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2024-01-31 21:52:46 +0000 |
commit | 96db2749833ba6ad4cfc1fefdceaf43c14bb9219 (patch) | |
tree | eecf2e53379afe32f0d2cb599b622c0bb836b324 /Master/tlpkg/tlpostcode | |
parent | 2c188c92c394cd5b32f4352801a71fe6ac1417a5 (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/tlpostcode')
-rw-r--r-- | Master/tlpkg/tlpostcode/cont-cache.cmd | 8 | ||||
-rwxr-xr-x | Master/tlpkg/tlpostcode/cont-cache.sh | 13 |
2 files changed, 0 insertions, 21 deletions
diff --git a/Master/tlpkg/tlpostcode/cont-cache.cmd b/Master/tlpkg/tlpostcode/cont-cache.cmd deleted file mode 100644 index 7d45f392d3c..00000000000 --- a/Master/tlpkg/tlpostcode/cont-cache.cmd +++ /dev/null @@ -1,8 +0,0 @@ -rem postaction for context -rem For context mkiv and lmtx, the filename database must be generated -rem at least once. Afterwards, it will be updated automatically, -rem possibly in a higher-priority location. - -mtxrun --generate -context --luatex --generate -context --luajittex --generate diff --git a/Master/tlpkg/tlpostcode/cont-cache.sh b/Master/tlpkg/tlpostcode/cont-cache.sh deleted file mode 100755 index eacd696a368..00000000000 --- a/Master/tlpkg/tlpostcode/cont-cache.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh -# $Id$ -# Public domain. -# -# postaction for context -# For context mkiv and lmtx, the filename database must be generated -# at least once. Afterwards, it will be updated automatically, -# possibly in a higher-priority location. - - -mtxrun --generate -context --luatex --generate -context --luajitex --generate |