diff options
Diffstat (limited to 'Master')
-rwxr-xr-x | Master/texmf/scripts/texlive/tlmgr.pl | 8 |
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); |