summaryrefslogtreecommitdiff
path: root/Master/tlpkg/installer/install-menu-text.pl
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2010-10-31 07:26:14 +0000
committerNorbert Preining <preining@logic.at>2010-10-31 07:26:14 +0000
commit0ea3633bbb0541335813e8d5d41387facb2e89a8 (patch)
treee4ec43a56fd84b91de1433aba63dbc3787cedbe7 /Master/tlpkg/installer/install-menu-text.pl
parent0f9287a2467c805d9ddb249ef5b48bc131886644 (diff)
installer:
- (text mdoe) change scheme to scheme-custom if collections are changed - (gui) allow selecting scheme-custom in gui, and switch as above git-svn-id: svn://tug.org/texlive/trunk@20268 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/installer/install-menu-text.pl')
-rwxr-xr-xMaster/tlpkg/installer/install-menu-text.pl5
1 files changed, 5 insertions, 0 deletions
diff --git a/Master/tlpkg/installer/install-menu-text.pl b/Master/tlpkg/installer/install-menu-text.pl
index 924e31e38a7..bef9921b91e 100755
--- a/Master/tlpkg/installer/install-menu-text.pl
+++ b/Master/tlpkg/installer/install-menu-text.pl
@@ -345,6 +345,10 @@ sub collection_menu {
}
if (defined $command{"\u$answer"}) {
+ # if we play around with collections we also select custom-scheme
+ # but we do not switch back to originally afterwards, too complicated
+ # to be done
+ select_scheme("scheme-custom");
return $command{"\u$answer"}->();
} else {
return $command{'self'}->();
@@ -439,6 +443,7 @@ sub language_menu {
return $command{'self'}->();
}
if (defined $command{"\u$answer"}) {
+ select_scheme("scheme-custom");
return $command{"\u$answer"}->();
} else {
return $command{'self'}->();