Adding casper 1.63+debian-1.
[live-boot-grml.git] / scripts / casper-bottom / 14locales
index 6d5b73c..0d4e171 100755 (executable)
@@ -43,7 +43,7 @@ if [ -z "${locale}" ]; then
        set_locale="true"
 fi
 
-if [ ! -z "${set_locale}" ]; then
+if [ "${set_locale}" ]; then
        LANG=$(grep "^${locale}" /root/usr/share/i18n/SUPPORTED | grep UTF-8 |sed -e 's, .*,,' -e q)
        printf 'LANG="%s"\n' "${LANG}" >> "${grep_file}" 
        chroot /root /usr/sbin/locale-gen "${LANG}"