From a33776a0cd57aa0f40d3ba118e6c39d1a368ba34 Mon Sep 17 00:00:00 2001 From: Chrysostomus Date: Thu, 4 Apr 2019 23:47:46 +0300 Subject: [PATCH] set locale in the background for better speed --- lib/util-base.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/util-base.sh b/lib/util-base.sh index f0e0801..e9048e2 100644 --- a/lib/util-base.sh +++ b/lib/util-base.sh @@ -846,7 +846,7 @@ set_locale() { echo "LANG=\"${LOCALE}\"" > ${MOUNTPOINT}/etc/locale.conf sed -i "s/#${LOCALE}/${LOCALE}/" ${MOUNTPOINT}/etc/locale.gen 2>$ERR - arch_chroot "locale-gen" >/dev/null 2>$ERR + arch_chroot "locale-gen" >/dev/null 2>$ERR & check_for_error "$FUNCNAME" "$?" ini linux.locale "$LOCALE"