# Inicia a escolha/instalacao e configuracao dos servicos nessarios ao ExpressoLivre
SERVICOS=$( dialog --backtitle "$BACKTITLE" --stdout --separate-output \
--checklist 'Por favor, selecione quais servicos serao instalados neste sistema operacional:' 14 75 14 \
http 'Servidor http (apache) juntamente com os modulos do PHP5' on \
ldap 'Servidor ldap (openldap)' on \
bd 'Servidor de banco de dados (postgresql)' on \
smtp 'Sevirdor smtp (postfix)' on \
imap 'Servidor imap (cyrus-imap)' on )
Retirar
su - postgres -c "env LANG=pt_BR.ISO-8859-1 initdb --encoding=LATIN1 -D $DIR_PG"
Substituir por
su - postgres -c "env LC_ALL=C initdb --encoding=LATIN1 -D $DIR_PG"
Fonte: http://www.expressolivre.org/newbb/viewtopic.php?forum=14&topic_id=2555&post_id=16089