4 export DEBIAN_FRONTEND=noninteractive
82 # this file doesn't exist on ubuntu1404 even locales installed
83 if [ -f /etc/locale.gen ]; then
84 sed -i '/^#\s*en_US.UTF-8 UTF-8/s/^#\s*//' /etc/locale.gen
89 # update /etc/default/locale
90 update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8
93 echo LC_ALL="en_US.UTF-8" >> /etc/environment
94 echo LANG="en_US.UTF-8" >> /etc/environment