From 699d07049238f4e34e54118782c92c2d07781af4 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Tue, 20 Feb 2018 15:35:35 +0100 Subject: [PATCH] common/xbps-src/shutils/chroot.sh: configure locale also when using -t. --- common/xbps-src/shutils/chroot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/xbps-src/shutils/chroot.sh b/common/xbps-src/shutils/chroot.sh index 084627916d1..6502359156b 100644 --- a/common/xbps-src/shutils/chroot.sh +++ b/common/xbps-src/shutils/chroot.sh @@ -108,7 +108,7 @@ chroot_prepare() { ln -sf /dev/null $XBPS_MASTERDIR/etc/xbps.d/00-repository-main.conf # Prepare default locale: en_US.UTF-8. - if [ -z "$XBPS_TEMP_MASTERDIR" -a -s ${XBPS_MASTERDIR}/etc/default/libc-locales ]; then + if [ -s ${XBPS_MASTERDIR}/etc/default/libc-locales ]; then echo 'en_US.UTF-8 UTF-8' >> ${XBPS_MASTERDIR}/etc/default/libc-locales fi