From 194b92414d03a4f36187697b04356cce09a141e7 Mon Sep 17 00:00:00 2001 From: Santiago Lo Coco Date: Wed, 2 Feb 2022 12:47:54 -0300 Subject: [PATCH] Fix bug in setTimeZone() --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 30e5ae4..a1e66bc 100755 --- a/install.sh +++ b/install.sh @@ -310,7 +310,7 @@ setTimeZone() { city=$(dialog --menu "Select a city." 0 26 15 "${options[@]}" 3>&1 1>&2 2>&3) 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 runInChroot "hwclock --systohc" }