summaryrefslogtreecommitdiff
path: root/scripts/live-bottom
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/live-bottom')
-rwxr-xr-xscripts/live-bottom/14locales8
1 files changed, 7 insertions, 1 deletions
diff --git a/scripts/live-bottom/14locales b/scripts/live-bottom/14locales
index b42fcf0..29c405b 100755
--- a/scripts/live-bottom/14locales
+++ b/scripts/live-bottom/14locales
@@ -116,7 +116,13 @@ then
printf 'LANG="%s"\n' "${LANG}" >> /root/etc/default/locale
printf 'LANG="%s"\n' "${LANG}" >> /root/etc/environment
printf '%s %s\n' "${LANG}" "${codepage}" > /root/etc/locale.gen
- chroot /root /usr/sbin/locale-gen
+
+ if [ -z "${SILENT}" ]
+ then
+ chroot /root /usr/sbin/locale-gen
+ else
+ chroot /root /usr/sbin/local-gen > /dev/null 2>&1
+ fi
fi
log_end_msg