Proper failsafe

This commit is contained in:
Lemniskett 2020-11-25 19:27:27 +07:00 committed by GitHub
parent 2a3098b049
commit f0c8980eef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,7 +33,7 @@ while true; do
&& [[ -e /usr/share/zoneinfo/$TIMEZONE ]] \ && [[ -e /usr/share/zoneinfo/$TIMEZONE ]] \
&& ln -s /usr/share/zoneinfo/$TIMEZONE /etc/localtime \ && ln -s /usr/share/zoneinfo/$TIMEZONE /etc/localtime \
&& break \ && break \
|| err "Timezone not found" || echo "Timezone not found, enter it again."
done done
msg "Creating user account..." msg "Creating user account..."
CHROOT_USER="$(cat /tmp/archbox_user)" CHROOT_USER="$(cat /tmp/archbox_user)"