mirror of
https://gitlab.manjaro.org/applications/manjaro-architect
synced 2024-11-19 09:25:48 +00:00
fix set_timezone dialog (wrong exitcode)
This commit is contained in:
parent
4b8f6f53e3
commit
87167194d8
@ -159,7 +159,7 @@ _localeBody="Locales determine the languages displayed, time and date formats, e
|
||||
# Set Timezone
|
||||
_TimeZBody="\nThe time zone is used to correctly set your system clock."
|
||||
_TimeSubZBody="\nSelect the city nearest to you."
|
||||
_TimeZQ="\nSet Time Zone as"
|
||||
_TimeZQ="\nSet Time Zone"
|
||||
|
||||
# Set Hardware Clock
|
||||
_HwCBody="\nUTC is the universal time standard, and is recommended unless dual-booting with Windows."
|
||||
|
@ -75,8 +75,7 @@ set_timezone() {
|
||||
SUBZONE=$(cat ${ANSWER})
|
||||
|
||||
DIALOG " $_ConfBseTimeHC " --yesno "\n$_TimeZQ ${ZONE}/${SUBZONE}?\n" 0 0
|
||||
|
||||
if (( $? != 0 )); then
|
||||
if (( $? == 0 )); then
|
||||
arch_chroot "ln -sf /usr/share/zoneinfo/${ZONE}/${SUBZONE} /etc/localtime" 2>$ERR
|
||||
check_for_error "$FUNCNAME ${ZONE}/${SUBZONE}" $? config_base_menu
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user