diff options
Diffstat (limited to 'Master/texmf')
-rwxr-xr-x | Master/texmf/scripts/texlive/tlmgr.pl | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Master/texmf/scripts/texlive/tlmgr.pl b/Master/texmf/scripts/texlive/tlmgr.pl index 7f16e9dfb13..4784eea5358 100755 --- a/Master/texmf/scripts/texlive/tlmgr.pl +++ b/Master/texmf/scripts/texlive/tlmgr.pl @@ -1038,7 +1038,14 @@ sub action_path { # sub action_dumptlpdb { init_local_db(); + # set machine readable to 1 + my $savemr = $::machinereadable; + $::machinereadable = 1; if ($opts{"local"}) { + # since we want to be consistent we write out the location of + # the installation, too, in the format as it is done when + # dumping the remote tlpdb + print "location-url\t", $localtlpdb->root, "\n"; $localtlpdb->writeout; return; } @@ -1046,6 +1053,7 @@ sub action_dumptlpdb { init_tlmedia(); $remotetlpdb->writeout; } + $::machinereadable = $savemr; return; } @@ -5765,6 +5773,13 @@ Dumps the remote tlpdb. If both B<--local> and B<--remote> is given, only the local tlpdb is dumped out. If none is given then nothing is dumped. +In the line before the dump of the tlpdb the location is specified on +a line: + + location-url TAB <location> + + + =head2 list [--only-installed] [collections|schemes|I<pkg>...] |