summaryrefslogtreecommitdiff
path: root/Master/common.sh
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-12-24 19:25:25 +0000
committerKarl Berry <karl@freefriends.org>2006-12-24 19:25:25 +0000
commit51dbba5389a2f61dbd903dd6dbaa8a1d8b73dcab (patch)
treec86b73cfdc3ada5c23cb5c7b055313db01e47dbe /Master/common.sh
parent4ca41d30c5911a2428117b4ff1030cd2b1cbd003 (diff)
(menu_series_customize): do not getopt for @,
since it's not allowed in a shell identifier. A few packages have no letter and cannot be selected. Argh. (setvars): do not allow iden57=@. git-svn-id: svn://tug.org/texlive/trunk@2886 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/common.sh')
-rwxr-xr-xMaster/common.sh17
1 files changed, 9 insertions, 8 deletions
diff --git a/Master/common.sh b/Master/common.sh
index a3b80ed2a9f..e3667ba288a 100755
--- a/Master/common.sh
+++ b/Master/common.sh
@@ -4,7 +4,7 @@
# common.sh -- common routines for the TeX Live installation scripts.
# Do not call directly.
#
-# Copyright (c) Sebastian Rahtz and Karl Berry 2003, 2004, 2005, 2006.
+# Copyright 2003, 2004, 2005, 2006 Sebastian Rahtz and Karl Berry.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -104,7 +104,6 @@ setvars()
iden_54=7
iden_55=8
iden_56=0
- iden_57=@
}
@@ -544,17 +543,17 @@ menu_main()
cls
opt_savespace_man=X
echo; textvar_show screen_1; echo
- case `getopt BCSDLOIHPQR 'Enter command'` in
+ case `getopt BCDHILOPQRS 'Enter command'` in
+ B) select_platforms;;
C) menu_series_customize;;
- L) menu_lang_series_customize;;
D) menu_directories;;
H) helpme help_1;;
I) install_now;;
+ L) menu_lang_series_customize;;
O) menu_options;;
P) menu_this_platform;;
Q) exit_on_confirm;;
R) install_cd;;
- B) select_platforms;;
S) menu_schemes;;
esac
done
@@ -620,6 +619,7 @@ menu_schemes()
done
}
+# emacs-page
menu_series_customize()
{
while true; do
@@ -632,13 +632,13 @@ menu_series_customize()
echo $key $status $name
done | pr -t -3 -
textvar_show screen_customize; echo
- K=`getoptallcase -+abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890@ 'Press key to toggle status of collection'`
+ K=`getoptallcase -+abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890 'Press key to toggle status of collection'`
case $K in
+) series_allall;;
-) series_allnone;;
R) total_stat; return ;;
- Q) exit_on_confirm;;
r) total_stat; return ;;
+ Q) exit_on_confirm;;
q) exit_on_confirm;;
*) eval W=\"\$P_${K}\"
series_select_level $W 2;
@@ -658,7 +658,7 @@ menu_lang_series_customize()
echo $key $status $name
done | pr -t -2 -
textvar_show screen_customize; echo
- K=`getoptallcase -+abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890@ 'Press key to toggle status of collection'`
+ K=`getoptallcase -+abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890 'Press key to toggle status of collection'`
case $K in
+) series_lang_allall;;
-) series_lang_allnone;;
@@ -1089,6 +1089,7 @@ expand_package ()
}
+# emacs-page
# at the beginning of the end ... called at the beginning of install_new.
# the caller must set list_file_func and list_package_func.
#