Proper symlink command.

This commit is contained in:
lemniskett 2020-11-10 00:07:10 +07:00
parent 32fea4d280
commit 23df355bfe

View File

@ -31,7 +31,7 @@ echo "Enter your timezone, for example : \"Asia/Jakarta\""
while true; do while true; do
read TIMEZONE \ read TIMEZONE \
&& [[ -e /usr/share/zoneinfo/$TIMEZONE ]] \ && [[ -e /usr/share/zoneinfo/$TIMEZONE ]] \
&& ln -s /etc/localtime \ && ln -s /usr/share/zoneinfo/$TIMEZONE /etc/localtime \
&& break \ && break \
|| err "Timezone not found" || err "Timezone not found"
done done