Explorar o código

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

Juan RP %!s(int64=12) %!d(string=hai) anos
pai
achega
20f23bc133
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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() {