summaryrefslogtreecommitdiff
path: root/Master/tlpkg/libexec/ctan2tds
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg/libexec/ctan2tds')
-rwxr-xr-xMaster/tlpkg/libexec/ctan2tds9
1 files changed, 6 insertions, 3 deletions
diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds
index 6c5a0764e89..c28f432753b 100755
--- a/Master/tlpkg/libexec/ctan2tds
+++ b/Master/tlpkg/libexec/ctan2tds
@@ -5143,11 +5143,14 @@ sub POSTcstex {
for my $tarbase ("csplain", "cslatex", "cspsfonts") {
my $tarfile = "base/$tarbase.tar.gz";
my $untar = "tar -C $DEST --strip-components=1 -x -f $tarfile";
- $untar .= " texmf/doc/cstex"; # filter out all but cstex dir
+ $untar .= " texmf/doc/cstex"; # include only the cstex dir
&SYSTEM ($untar);
}
+ # no stray symlinks please.
+ &POST_rmsymlink ();
+ #
&SYSTEM ("$MV doc/README README-doc");
- &SYSTEM ("$MV doc/cstexman.tex .");
+ &SYSTEM ("$MV doc/cstexman.tex doc/cstexman.pdf .");
&SYSTEM ("$MV doc/jemny.* doc/prvni.* .");
&SYSTEM ("$RM -rf README *.zip base/ doc/");
&SYSTEM ("$MV * $DEST/doc/cstex/"); # move all to same dir
@@ -5535,7 +5538,7 @@ sub POST_do_man {
sub POST_rmsymlink {
print "POST$package - removing symlinks\n";
- &SYSTEM ("find $DEST -type l | xargs --no-run-if-empty rm");
+ &SYSTEM ("find $DEST -type l | xargs --no-run-if-empty $RM");
}