[tex-live] Error when running `tlmgr path remove` if docs are not installed

Karl Berry karl at freefriends.org
Wed Dec 6 01:26:15 CET 2017

      sh: line 0: cd: $TEXDIR/texmf-dist/doc/man: No such file or directory

Tried to fix in r45994, though I guess it won't show up until the next
time we push tlcritical to tlnet. You could just patch
tlpkg/TeXLive/TLUtils.pm by hand if you want to try it ... --thanks, karl.

--- TLUtils.pm	(revision 45993)
+++ TLUtils.pm	(working copy)
@@ -1945,7 +1945,7 @@
   # man
   my $top_man_dir = "$Master/texmf-dist/doc/man";
   debug("$mode symlinks for man pages to $sys_man from $top_man_dir\n");
-  if (! -d $top_man_dir && $mode eq "add") {
+  if (! -d $top_man_dir) {
     ; # better to be silent?
     #info("skipping add of man symlinks, no source directory $top_man_dir\n");
   } else {

More information about the tex-live mailing list