diff options
Diffstat (limited to 'Master/tlpkg/installer/install-menu-text.pl')
-rwxr-xr-x | Master/tlpkg/installer/install-menu-text.pl | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Master/tlpkg/installer/install-menu-text.pl b/Master/tlpkg/installer/install-menu-text.pl index 580e2dcd0e3..68a7947526f 100755 --- a/Master/tlpkg/installer/install-menu-text.pl +++ b/Master/tlpkg/installer/install-menu-text.pl @@ -326,11 +326,10 @@ sub scheme_menu { menu_head 'Select scheme:'; - foreach my $pkg ($tlpdb->schemes) { - push @schemes, $pkg; + @schemes = schemes_ordered_for_presentation(); + foreach my $pkg (@schemes) { $vars{"$pkg"}=($vars{'selected_scheme'} eq $pkg)? 1:0; } - @schemes=sort @schemes; push @schemes, "scheme-custom"; foreach my $scheme (@schemes) { |