diff options
author | Norbert Preining <preining@logic.at> | 2008-06-03 07:28:52 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2008-06-03 07:28:52 +0000 |
commit | 495e98fb0651cc68d29c0f44b7a21e6da156076c (patch) | |
tree | 51fd493916aae97c43337e885d4c51dc0b6eee4c /Master/texmf | |
parent | c23f71817ef4fd2d6b4e09686d060a156e0ae8b4 (diff) |
add tlmgrgui wrapper to prevent problems with loading Tk etc ...
git-svn-id: svn://tug.org/texlive/trunk@8510 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf')
-rwxr-xr-x | Master/texmf/scripts/texlive/tlmgrgui/tlmgrgui.pl | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Master/texmf/scripts/texlive/tlmgrgui/tlmgrgui.pl b/Master/texmf/scripts/texlive/tlmgrgui/tlmgrgui.pl new file mode 100755 index 00000000000..1e8ec23a549 --- /dev/null +++ b/Master/texmf/scripts/texlive/tlmgrgui/tlmgrgui.pl @@ -0,0 +1,17 @@ + +$^W = 1; +use strict; + +BEGIN { + $^W = 1; + my $Master = `kpsewhich -var-value=SELFAUTOPARENT`; + chomp($Master); + unshift (@INC, "$Master/tlpkg", "$Master/texmf/scripts/texlive/tlmgrgui"); +} + + +eval { require Tk; }; + +require("tlmgrgui-real.pl"); + +print "Starting tlmgrgui ...\n"; |