Fix bug in setTimeZone()
This commit is contained in:
parent
759a8e4ec8
commit
194b92414d
|
@ -310,7 +310,7 @@ setTimeZone() {
|
||||||
city=$(dialog --menu "Select a city." 0 26 15 "${options[@]}" 3>&1 1>&2 2>&3)
|
city=$(dialog --menu "Select a city." 0 26 15 "${options[@]}" 3>&1 1>&2 2>&3)
|
||||||
exitIfCancel "You must select a city."
|
exitIfCancel "You must select a city."
|
||||||
|
|
||||||
ln -sf "/mnt/usr/share/zoneinfo/${region}/${city}" /mnt/etc/localtime
|
runInChroot "ln -sf \"/usr/share/zoneinfo/${region}/${city}\" /etc/localtime"
|
||||||
printWaitBox
|
printWaitBox
|
||||||
runInChroot "hwclock --systohc"
|
runInChroot "hwclock --systohc"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue