From e5c8e95e9c8ff215f00a510e5e4b6d24abd554e7 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Thu, 5 Jan 2012 02:07:33 +0000 Subject: do not remove directories that are in or below what is in opt_sys_* on tlmgr path remove action git-svn-id: svn://tug.org/texlive/trunk@25027 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tlpkg/TeXLive/TLUtils.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Master/tlpkg') diff --git a/Master/tlpkg/TeXLive/TLUtils.pm b/Master/tlpkg/TeXLive/TLUtils.pm index 259a5760221..7769b9f33d8 100644 --- a/Master/tlpkg/TeXLive/TLUtils.pm +++ b/Master/tlpkg/TeXLive/TLUtils.pm @@ -1951,7 +1951,7 @@ sub remove_link_dir_dir { } # trry to remove the destination directory, it might be empty and # we might have write permissions, ignore errors - `rmdir "$to" 2>/dev/null`; + # `rmdir "$to" 2>/dev/null`; return $ret; } else { tlwarn ("destination $to not writable, no removal of links done!\n"); @@ -1991,7 +1991,7 @@ sub add_remove_symlinks { $errors++ unless remove_link_dir_dir($mandir, "$sys_man/$m"); } } - `rmdir "$sys_man" 2>/dev/null` if ($mode eq "remove"); + # `rmdir "$sys_man" 2>/dev/null` if ($mode eq "remove"); } else { tlwarn("destination of man symlink $sys_man not writable, " . "cannot $mode symlinks.\n"); -- cgit v1.2.3