This commit is contained in:
Alexandre Aubin 2018-07-22 13:55:15 +02:00 committed by GitHub
parent 21ab5a714f
commit d97ea92fac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -110,7 +110,7 @@ function main()
reboot reboot
fi fi
step fix_locals step fix_locales
step post_install || die "Post-installation failed" step post_install || die "Post-installation failed"
@ -404,7 +404,7 @@ function restart_services() {
return 0 return 0
} }
function fix_locals() { function fix_locales() {
[ "$(grep LC_ALL /etc/environment)" ] || echo 'LC_ALL="en_US.UTF-8"' >> /etc/environment [ "$(grep LC_ALL /etc/environment)" ] || echo 'LC_ALL="en_US.UTF-8"' >> /etc/environment
source /etc/environment source /etc/environment
export LC_ALL export LC_ALL