diff options
author | Norbert Preining <preining@logic.at> | 2008-05-01 10:34:07 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2008-05-01 10:34:07 +0000 |
commit | 5da52e60faad7756ed31731b38aa3a7b4b0fe844 (patch) | |
tree | aaef2fc01198dfeccc325d86819fbc95056a6932 /Master/tlpkg/TeXLive | |
parent | 2cedf09d590bf648a57c15c9c20a16ac3af8ae81 (diff) |
do not duplicate stuff in dvipdfmx.postinstall, the change is now in TEXMFMAIN
git-svn-id: svn://tug.org/texlive/trunk@7771 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/TeXLive')
-rw-r--r-- | Master/tlpkg/TeXLive/TLPostInstall.pm | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/Master/tlpkg/TeXLive/TLPostInstall.pm b/Master/tlpkg/TeXLive/TLPostInstall.pm index 4342715f13b..041a3a1d42d 100644 --- a/Master/tlpkg/TeXLive/TLPostInstall.pm +++ b/Master/tlpkg/TeXLive/TLPostInstall.pm @@ -122,13 +122,15 @@ sub do_bin_dvipdfmx { open(DVIPDFMCONFIGINST, ">$TEXMFSYSVAR/dvipdfm/dvipdfmx.cfg") or die("Cannot open $TEXMFSYSVAR/dvipdfm/dvipdfmx.cfg"); while (<DVIPDFMCONFIGDIST>) { - if (m/^D /) { - print DVIPDFMCONFIGINST "%$_"; - print DVIPDFMCONFIGINST "\n%% GhostScript (TeX Live (Unix and Win32)):\n"; - print DVIPDFMCONFIGINST 'D "rungs -q -dNOPAUSE -dBATCH -sPAPERSIZE=a0 -sDEVICE=pdfwrite -dCompatibilityLevel=1.3 -dAutoFilterGrayImages=false -dGrayImageFilter=/FlateEncode -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dUseFlateCompression=true -sOutputFile=%o %i -c quit"', "\n\n"; - } else { + # current dvipdfmx.cfg already contains the right rungs incantation + # so do just copy the file to texmf-var + #if (m/^D /) { + # print DVIPDFMCONFIGINST "%$_"; + # print DVIPDFMCONFIGINST "\n%% GhostScript (TeX Live (Unix and Win32)):\n"; + # print DVIPDFMCONFIGINST 'D "rungs -q -dNOPAUSE -dBATCH -sPAPERSIZE=a0 -sDEVICE=pdfwrite -dCompatibilityLevel=1.3 -dAutoFilterGrayImages=false -dGrayImageFilter=/FlateEncode -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dUseFlateCompression=true -sOutputFile=%o %i -c quit"', "\n\n"; + #} else { print DVIPDFMCONFIGINST; - } + #} } close(DVIPDFMCONFIGDIST); close(DVIPDFMCONFIGINST); |