1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-04-08 00:57:05 +00:00

Revert: does not fix the error message "warning: cannot change locale" during 'export LC_ALL'. This appears to only be fixable by restarting bash after the locale-gen call.

This commit is contained in:
downtownallday 2020-06-16 06:44:14 -04:00
parent 5f008d91b8
commit 582b12b33a

View File

@ -16,8 +16,7 @@ source setup/preflight.sh
if ! locale -a | grep en_US.utf8 > /dev/null; then
# Generate locale if not exists
hide_output localedef -f UTF-8 -i en_US en_US.UTF-8
#hide_output locale-gen en_US.UTF-8
hide_output locale-gen en_US.UTF-8
fi
export LANGUAGE=en_US.UTF-8