set_timezone() fix symlink creation

This commit is contained in:
Bernhard Landauer 2017-02-22 22:45:18 +01:00
parent 4f4ca6a3dd
commit 60d523e67f

View File

@ -77,7 +77,7 @@ set_timezone() {
DIALOG " $_ConfBseTimeHC " --yesno "$_TimeZQ ${ZONE}/${SUBZONE}?" 0 0
if [[ $? -eq 0 ]]; then
arch_chroot "ln -s /usr/share/zoneinfo/posix/${ZONE}/${SUBZONE} /etc/localtime" 2>$ERR
arch_chroot "ln -sf /usr/share/zoneinfo/posix/${ZONE}/${SUBZONE} /etc/localtime" 2>$ERR
check_for_error "$FUNCNAME" "$?"
else
config_base_menu