瀏覽代碼

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

Juan RP 12 年之前
父節點
當前提交
20f23bc133
共有 1 個文件被更改,包括 1 次插入1 次删除
  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() {