diff options
author | Karl Berry <karl@freefriends.org> | 2019-03-17 21:54:02 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-03-17 21:54:02 +0000 |
commit | a79da32935834f42057e258d22bb90e8ed7e65aa (patch) | |
tree | 5a572359444a579b30b73e8a3844b01afe47ff22 /Master/tlpkg/libexec | |
parent | 5698059f8aa4109c8f98d166ef398f04c515b022 (diff) |
webquiz deref/remove symlinks
git-svn-id: svn://tug.org/texlive/trunk@50431 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/libexec')
-rwxr-xr-x | Master/tlpkg/libexec/ctan2tds | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds index 4feb6e99844..87534158a23 100755 --- a/Master/tlpkg/libexec/ctan2tds +++ b/Master/tlpkg/libexec/ctan2tds @@ -1494,6 +1494,7 @@ chomp ($Build = `cd $Master/../Build/source && pwd`); 'tudscr' => '&POSTtudscr', 'uplatex' => '&POST_preserve_man', 'velthuis' => '&POSTvelthuis', + 'webquiz' => '&POST_deref_symlink', 'xecyr' => '&POSTxecyr', 'xetex-pstricks' => '&POSTxetexpstricks', 'xindex' => '&POSTxindex', @@ -6712,6 +6713,11 @@ sub POST_rmsymlink { &SYSTEM ("find $DEST -type l | xargs --no-run-if-empty $RM"); } +sub POST_deref_symlink { + print "POST$package - dereferencing symlinks\n"; + &SYSTEM ("find $DEST -type l | xargs deref-symlinks"); +} + # Allow overrides. In particular, CTAN can change some hashes to make # packages with licenses that TL doesn't allow. |