From 1f82ae59ed206ef25f231716108aa1b0de73fbf9 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Wed, 18 May 2016 06:36:11 +0000 Subject: ptex2pdf post: move require after lang check, load tlwingoo git-svn-id: svn://tug.org/texlive/trunk@41233 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tlpkg/tlpostcode/ptex2pdf-tlpost.pl | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'Master/tlpkg') diff --git a/Master/tlpkg/tlpostcode/ptex2pdf-tlpost.pl b/Master/tlpkg/tlpostcode/ptex2pdf-tlpost.pl index fb1c5c6a5bc..55f4f6d9d18 100644 --- a/Master/tlpkg/tlpostcode/ptex2pdf-tlpost.pl +++ b/Master/tlpkg/tlpostcode/ptex2pdf-tlpost.pl @@ -29,10 +29,6 @@ BEGIN { use TeXLive::TLUtils qw(win32 mkdirhier conv_to_w32_path log info tlwarn); -$::lang = "C"; -require("TeXLive/trans.pl"); -#use Data::Dumper; - my %ptex2pdf = ( '1' => { @@ -161,6 +157,11 @@ if ($::lang ne 'ja') { exit(0); } +$::lang = "C"; +require TeXLive::TLWinGoo; +require("TeXLive/trans.pl"); +#use Data::Dumper; + if ($mode eq 'install') { do_install(); } elsif ($mode eq 'remove') { -- cgit v1.2.3