From 8ea7bd927a6b2bf7977500672741dcb0f89fcbc7 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 6 Dec 2017 00:03:50 +0000 Subject: (add_remove_symlinks): do nothing if ! -d $top_man_dir in remove mode also. Report from Yihui Xie, 5 Dec 2017 15:26:00. git-svn-id: svn://tug.org/texlive/trunk@45994 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tlpkg/TeXLive/TLUtils.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Master/tlpkg/TeXLive/TLUtils.pm') diff --git a/Master/tlpkg/TeXLive/TLUtils.pm b/Master/tlpkg/TeXLive/TLUtils.pm index 0ea884a0515..53e5a6237bf 100644 --- a/Master/tlpkg/TeXLive/TLUtils.pm +++ b/Master/tlpkg/TeXLive/TLUtils.pm @@ -1945,7 +1945,7 @@ sub add_remove_symlinks { # 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 { -- cgit v1.2.3