summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
Diffstat (limited to 'Master')
-rwxr-xr-xMaster/install-tl20
1 files changed, 18 insertions, 2 deletions
diff --git a/Master/install-tl b/Master/install-tl
index 235a7a3a620..b4f7795e8a9 100755
--- a/Master/install-tl
+++ b/Master/install-tl
@@ -805,8 +805,24 @@ sub do_postinst_stuff {
# those files must exist
copy ("$TEXDIR/texmf/dvips/config/config.ps",
"$TEXMFSYSVAR/dvips/config");
- copy ("$TEXDIR/texmf/dvipdfm/config/config",
- "$TEXMFSYSVAR/dvipdfm/config");
+ # now we have to fix up dvipdfm config file to contain the right
+ # piping command
+ open(DVIPDFMCONFIGDIST, "<$TEXDIR/texmf/dvipdfm/config/config")
+ or die("Cannot open $TEXDIR/texmf/dvipdfm/config/config");
+ open(DVIPDFMCONFIGINST, ">$TEXMFSYSVAR/dvipdfm/config")
+ or die("Cannot open $TEXMFSYSVAR/dvipdfm/config");
+ while (<DVIPDFMCONFIGDIST>) {
+ if (m/^D /) {
+ print DVIPDFMCONFIGINST 'D "epstopdf --outfile=%o --nocompress %i"', "\n";
+ } else {
+ print DVIPDFMCONFIGINST;
+ }
+ }
+ close(DVIPDFMCONFIGDIST);
+ close(DVIPDFMCONFIGINST);
+ #copy ("$TEXDIR/texmf/dvipdfm/config/config",
+ # "$TEXMFSYSVAR/dvipdfm/config");
+
copy ("$TEXDIR/texmf/web2c/mktex.cnf",
"$TEXMFSYSVAR/web2c");