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 |
|
|
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 |
|
|
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 |
|
|
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) |