X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Flive-bottom%2F14locales;h=6348338c544b1987ee5290cb712f07a87d43a9e3;hb=db8e2b07ea4a93502670f48dc8e84b1662034fb4;hp=b42fcf0d14812f825aca9d811a94e4aa020f90d3;hpb=94853efc193b3721c9be6d89a756c660b6b57d05;p=live-boot-grml.git diff --git a/scripts/live-bottom/14locales b/scripts/live-bottom/14locales index b42fcf0..6348338 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/locale-gen > /dev/null 2>&1 + fi fi log_end_msg