summaryrefslogtreecommitdiff
path: root/Master/texmf
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/texmf
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/texmf')
-rwxr-xr-xMaster/texmf/scripts/texlive/tlmgr.pl11
1 files changed, 11 insertions, 0 deletions
diff --git a/Master/texmf/scripts/texlive/tlmgr.pl b/Master/texmf/scripts/texlive/tlmgr.pl
index 844971ad32c..b82c09a1349 100755
--- a/Master/texmf/scripts/texlive/tlmgr.pl
+++ b/Master/texmf/scripts/texlive/tlmgr.pl
@@ -128,6 +128,7 @@ sub main {
"machine-readable" => 1,
"package-logfile" => "=s",
"persistent-downloads" => "!",
+ "no-execute-actions" => 1,
"pause" => 1,
"version" => 1,
"help|h|?" => 1);
@@ -332,6 +333,11 @@ sub main {
load_config_file();
#
+ # set global variable if execute actions should be supressed
+ $::no_execute_actions = 1 if (defined($opts{'no-execute-actions'}));
+
+
+ #
# if we are asked to use persistent connections try to start it here
#
{
@@ -4746,6 +4752,11 @@ fall back to using wget if this is not possible. If you want to disable
usage of LWP and persistent connections, please use
B<--no-persistent-downloads>.
+=item B<--no-execute-actions>
+
+Suppress the execution of the execute actions as defined in the tlpsrc
+files. Only use at your own risk.
+
=item B<--debug-translation>
In GUI mode, this switch makes C<tlmgr> report any missing, or more