Pārlūkot izejas kodu

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

Juan RP 12 gadi atpakaļ
vecāks
revīzija
20f23bc133
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      installer.sh.in

+ 1 - 1
installer.sh.in

@@ -311,7 +311,7 @@ set_locale() {
     # Uncomment locale from /etc/default/libc-locales and regenerate it.
     sed -e "/${LOCALE}/s/^\#//" -i $TARGETDIR/etc/default/libc-locales
     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() {