From e5850974f8685e99c3164638a17bea64b18deade Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Sun, 16 Apr 2017 02:13:01 +0000 Subject: rename option_adjustrepo to adjustrepo only the option_ prefix is reserved for those values that can also be set in the tlpdb, but not for purely install-tl options. Fix that. git-svn-id: svn://tug.org/texlive/trunk@43822 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tlpkg/installer/install-menu-perltk.pl | 4 ++-- Master/tlpkg/installer/install-menu-text.pl | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'Master/tlpkg') diff --git a/Master/tlpkg/installer/install-menu-perltk.pl b/Master/tlpkg/installer/install-menu-perltk.pl index af465638057..14606b03bf0 100644 --- a/Master/tlpkg/installer/install-menu-perltk.pl +++ b/Master/tlpkg/installer/install-menu-perltk.pl @@ -137,7 +137,7 @@ sub setup_perltk_local_strings { $adminallyesno = $::yesno[$vars{'option_w32_multi_user'}]; $docyesno = $::yesno[$vars{'option_doc'}]; $restrictedyesno = $::yesno[$vars{'option_write18_restricted'}]; - $adjustrepoyesno = $::yesno[$vars{'option_adjustrepo'}]; + $adjustrepoyesno = $::yesno[$vars{'adjustrepo'}]; } sub menu_abort { @@ -604,7 +604,7 @@ Please select a different mirror.', -text => __("Toggle"), -command => sub { toggle_and_set_opt_variable( - \$vars{'option_adjustrepo'}, \$adjustrepoyesno); }) + \$vars{'adjustrepo'}, \$adjustrepoyesno); }) ->grid(-row => $row, -column => 3, -sticky => "ew", -padx => "2m"); } diff --git a/Master/tlpkg/installer/install-menu-text.pl b/Master/tlpkg/installer/install-menu-text.pl index 53349dbc1c7..edb68277872 100644 --- a/Master/tlpkg/installer/install-menu-text.pl +++ b/Master/tlpkg/installer/install-menu-text.pl @@ -762,7 +762,7 @@ sub options_menu { my $b_src=obutton($vars{'option_src'}); my $b_fmt=obutton($vars{'option_fmt'}); my $b_letter=obutton($vars{'option_letter'}); - my $b_adjustrepo=obutton($vars{'option_adjustrepo'}); + my $b_adjustrepo=obutton($vars{'adjustrepo'}); my $b_deskint=obutton( $vars{'option_desktop_integration'}, \@::deskintdesc); my $b_admin=obutton($vars{'option_w32_multi_user'}); @@ -939,7 +939,7 @@ EOF return $command{'self'}; } elsif ("\u$answer" eq 'Y' and $media ne "NET") { - toggle 'option_adjustrepo'; + toggle 'adjustrepo'; return $command{'self'}; } else { @@ -998,7 +998,7 @@ sub main_menu { my $b_admin=button($vars{'option_w32_multi_user'}); my $b_addoneditor=button($vars{'collection-texworks'}); my $b_restricted=button($vars{'option_write18_restricted'}); - my $b_adjustrepo=button($vars{'option_adjustrepo'}); + my $b_adjustrepo=button($vars{'adjustrepo'}); my $warn_nobin; -- cgit v1.2.3