summaryrefslogtreecommitdiff
path: root/Master/tlpkg/TeXLive
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2010-06-11 17:57:59 +0000
committerNorbert Preining <preining@logic.at>2010-06-11 17:57:59 +0000
commitee3bc684018411a6d14fcfe366a5638a6664db25 (patch)
tree0c69f99d1087e6e5bb2e2469d95c8c0785c39608 /Master/tlpkg/TeXLive
parentbdf353f3dd54fc55a1f36c89d04397534ecdebb6 (diff)
tlmgr: support --no-execute-actions cmd line that suppresses the
execute actions from tlpsrc files TLUtils.pm: announce_execute_actions: return if the global $::no_execute_actions is set. This global var is set from tlmgr when --no-execute-actions is given install-tl: use tlmgr --no-execute-actions paper letter to configure installation for paper format letter, and run fmtutil-sys --all separate Also move the call to mktexlsr (rerunning it) below the tlmgr paper letter call. git-svn-id: svn://tug.org/texlive/trunk@18898 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/TeXLive')
-rw-r--r--Master/tlpkg/TeXLive/TLUtils.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/Master/tlpkg/TeXLive/TLUtils.pm b/Master/tlpkg/TeXLive/TLUtils.pm
index 9ec12ace487..61af34242c5 100644
--- a/Master/tlpkg/TeXLive/TLUtils.pm
+++ b/Master/tlpkg/TeXLive/TLUtils.pm
@@ -1728,6 +1728,9 @@ after all packages have been unpacked.
sub announce_execute_actions {
my ($type, $tlp) = @_;
+ # do simply return immediately if execute actions are suppressed
+ return if $::no_execute_actions;
+
if (defined($type) && ($type eq "regenerate-formats")) {
$::regenerate_all_formats = 1;
return;