LC_ALL cannot be empty.

This commit is contained in:
Manuel Canales Esparcia 2006-04-12 21:46:06 +00:00
parent 71dd5a5c5b
commit 1476df1e78

View file

@ -147,7 +147,7 @@ inline_doc
if [[ "${config_param}" = "LC_ALL" ]]; then if [[ "${config_param}" = "LC_ALL" ]]; then
echo "`eval echo $PARAM_VALS`" echo "`eval echo $PARAM_VALS`"
[[ -z "${!config_param}" ]] && continue [[ -z "${!config_param}" ]] && echo -e "\nVariable LC_ALL cannot be empty!" && write_error_and_die
# See it the locale values exist on this machine # See it the locale values exist on this machine
if [[ "`locale -a | grep -c ${!config_param}`" > 0 ]]; then if [[ "`locale -a | grep -c ${!config_param}`" > 0 ]]; then
continue continue