Magellan Linux

Diff of /trunk/installer/ncurses-gui/locales.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1013 by niro, Sun May 30 17:33:29 2010 UTC revision 1035 by niro, Sun May 30 18:37:54 2010 UTC
# Line 2  Line 2 
2    
3  select_timezone_region()  select_timezone_region()
4  {  {
5   local items=( $(include/timezone.sh --regions) )   local items=( $(${INSTALLER_DIR}/include/timezone.sh --regions) )
6   local count=${#items[*]}   local count=${#items[*]}
7   local i   local i
8    
# Line 20  select_timezone_region() Line 20  select_timezone_region()
20    
21  select_timezone_location()  select_timezone_location()
22  {  {
23   local items=( $(include/timezone.sh --locations ${TIMEZONE_REGION}) )   local items=( $(${INSTALLER_DIR}/include/timezone.sh --locations ${TIMEZONE_REGION}) )
24   local count=${#items[*]}   local count=${#items[*]}
25   local i   local i
26    
# Line 38  select_timezone_location() Line 38  select_timezone_location()
38    
39  select_locale()  select_locale()
40  {  {
41   local items=( $(localedef --list-archive | grep $(include/timezone.sh --get-code ${TIMEZONE_LOCATION})) )   local items=( $(${INSTALLER_DIR}/localedef --list-archive | grep $(include/timezone.sh --get-code ${TIMEZONE_LOCATION})) )
42   local count=${#items[*]}   local count=${#items[*]}
43   local i   local i
44    
# Line 70  rundialog_select_timezone_region() Line 70  rundialog_select_timezone_region()
70   debug "TIMEZONE_REGION='${TIMEZONE_REGION}'"   debug "TIMEZONE_REGION='${TIMEZONE_REGION}'"
71  }  }
72    
   
73  rundialog_select_timezone_location()  rundialog_select_timezone_location()
74  {  {
75   TIMEZONE_LOCATION=$(select_timezone_location)   TIMEZONE_LOCATION=$(select_timezone_location)

Legend:
Removed from v.1013  
changed lines
  Added in v.1035