mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
add CANCEL label
This commit is contained in:
parent
b7f5791224
commit
6598f9f64a
1 changed files with 2 additions and 2 deletions
|
@ -40,7 +40,7 @@ _timezone () {
|
|||
while [[ -z "${_CONTINUE}" ]]; do
|
||||
_REGIONS="America - Europe - Africa - Asia - Australia -"
|
||||
#shellcheck disable=SC2086
|
||||
if _dialog --title " Timezone Region " --menu "" 11 30 6 ${_REGIONS} 2>${_ANSWER}; then
|
||||
if _dialog --cancel-label "Exit" --title " Timezone Region " --menu "" 11 30 6 ${_REGIONS} 2>${_ANSWER}; then
|
||||
_REGION=$(cat ${_ANSWER})
|
||||
_ZONES=""
|
||||
_CONTINUE=1
|
||||
|
@ -53,7 +53,7 @@ _timezone () {
|
|||
_ZONES="${_ZONES} ${i} -"
|
||||
done
|
||||
#shellcheck disable=SC2086
|
||||
if _dialog --title " Timezone " --menu "" 21 30 16 ${_ZONES} 2>${_ANSWER}; then
|
||||
if _dialog --cancel-label "Back" --title " Timezone " --menu "" 21 30 16 ${_ZONES} 2>${_ANSWER}; then
|
||||
_SET_ZONE="1"
|
||||
_ZONE=$(cat ${_ANSWER})
|
||||
[[ "${_ZONE}" == "${_REGION}" ]] || _ZONE="${_REGION}/${_ZONE}"
|
||||
|
|
Loading…
Reference in a new issue