summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2008-07-22 06:33:12 +0000
committerNorbert Preining <preining@logic.at>2008-07-22 06:33:12 +0000
commit00797a54f71ee1c0f412367a343d56815ec2deda (patch)
tree2e8034c17275a855a2a1ac9599783cd16cce6b50 /Master
parent820735ab6c6dfe255c36807a1e389e7ca3271b01 (diff)
tlmgr: if formats should not be created, call texconf.tlu with --noformats
git-svn-id: svn://tug.org/texlive/trunk@9697 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rwxr-xr-xMaster/texmf/scripts/texlive/tlmgr.pl8
1 files changed, 7 insertions, 1 deletions
diff --git a/Master/texmf/scripts/texlive/tlmgr.pl b/Master/texmf/scripts/texlive/tlmgr.pl
index 94716840996..5a7105635de 100755
--- a/Master/texmf/scripts/texlive/tlmgr.pl
+++ b/Master/texmf/scripts/texlive/tlmgr.pl
@@ -134,9 +134,15 @@ if ($action =~ m/^_include_tlpobj$/) {
if ($opt_gui) {
action_gui("config");
}
+ init_local_db();
my $TEXMFMAIN = `kpsewhich -var-value=TEXMFMAIN`;
chomp $TEXMFMAIN;
- system("texlua", "$TEXMFMAIN/scripts/texlive/texconf.tlu", "--prog", "tlmgr", "--sys", $action, @ARGV);
+ my @cmdline = ("texlua", "$TEXMFMAIN/scripts/texlive/texconf.tlu", "--prog", "tlmgr","--sys");
+ if (!$localtlpdb->option_create_formats) {
+ push @cmdline, "--noformat";
+ }
+ push @cmdline, $action, @ARGV;
+ system(@cmdline);
} elsif ($action =~ m/^uninstall$/i) {
merge_into(\%ret, action_uninstall());
exit(0);