set locale in the background for better speed

merge-requests/260/head
Chrysostomus 5 years ago
parent 26d16e306d
commit a33776a0cd

@ -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"

Loading…
Cancel
Save