diff options
author | Norbert Preining <preining@logic.at> | 2008-06-01 10:52:49 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2008-06-01 10:52:49 +0000 |
commit | d72679b37000477e79293508f485c464fb006636 (patch) | |
tree | bad06840fa3b22961b65617b758ffa17094e2cc9 /Master/tlpkg/installer/install-menu-perltk.pl | |
parent | 2c0d469786e50a50b2e4de5f4f3c3d15913b4e38 (diff) |
- rename the fields where options are saved to opt_....
- adapt the TLPDB.pm to use option_xxx_xxx instead
- fix install-tl and all related files to use the changed name of the functions
- fix a small bug in install-tl gui mode that didn't honor the initial
setting of the options
- install-tl now takes the initial setting of the opt_ stuff (paper,
srcfiles, docfiles, create formats, links) from the installation source's
texlive.tlpdb, and not hard code it into the installer
- adjust the 00texlive-installation.config.tlpsrc file to ship new names
Bottom line of that: If we want to change some defaults in the installer
we have to change the 00texlive-installation.config.tlpsrc
git-svn-id: svn://tug.org/texlive/trunk@8448 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/installer/install-menu-perltk.pl')
-rw-r--r-- | Master/tlpkg/installer/install-menu-perltk.pl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Master/tlpkg/installer/install-menu-perltk.pl b/Master/tlpkg/installer/install-menu-perltk.pl index 2b72870873b..00bb281d222 100644 --- a/Master/tlpkg/installer/install-menu-perltk.pl +++ b/Master/tlpkg/installer/install-menu-perltk.pl @@ -190,10 +190,10 @@ if (($::lang ne "en") && ($::lang ne "C")) { } } -my $letteryesno = $text{'no'}; -my $fmtyesno = $text{'no'}; -my $srcyesno = $text{'yes'}; -my $docyesno = $text{'yes'}; +my $letteryesno = ( $vars{'option_letter'} ? $text{'yes'} : $text{'no'} ); +my $fmtyesno = ( $vars{'option_fmt'} ? $text{'yes'} : $text{'no'} ); +my $srcyesno = ( $vars{'option_src'} ? $text{'yes'} : $text{'no'} ); +my $docyesno = ( $vars{'option_doc'} ? $text{'yes'} : $text{'no'} ); sub run_menu { # computing $a: |