diff options
author | Norbert Preining <preining@logic.at> | 2008-04-23 12:55:58 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2008-04-23 12:55:58 +0000 |
commit | fc7a668ac46e1b0e8c8be4fb01a809f14e11d50a (patch) | |
tree | 288a39494add694fd627442e303b3416a2c64809 /Master/install-tl | |
parent | 7dee9ef2f620059a6c49a3823bd2e3069fa9441a (diff) |
try to fix dvipdfm/config/config for win32 install
git-svn-id: svn://tug.org/texlive/trunk@7620 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/install-tl')
-rwxr-xr-x | Master/install-tl | 20 |
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"); |