installer: redirect output to $LOG when regenerating the libc locales.

This commit is contained in:
Juan RP 2013-05-20 12:07:47 +02:00
parent 62c920ea5a
commit 20f23bc133

View File

@ -311,7 +311,7 @@ set_locale() {
# Uncomment locale from /etc/default/libc-locales and regenerate it. # Uncomment locale from /etc/default/libc-locales and regenerate it.
sed -e "/${LOCALE}/s/^\#//" -i $TARGETDIR/etc/default/libc-locales sed -e "/${LOCALE}/s/^\#//" -i $TARGETDIR/etc/default/libc-locales
echo "Running xbps-reconfigure -f glibc-locales ..." >$LOG echo "Running xbps-reconfigure -f glibc-locales ..." >$LOG
chroot $TARGETDIR xbps-reconfigure -f glibc-locales chroot $TARGETDIR xbps-reconfigure -f glibc-locales >$LOG 2>&1
} }
menu_timezone() { menu_timezone() {