Commit 3dad5a6e authored by Luca Giambonini's avatar Luca Giambonini
Browse files

Update prepare.sh, locale.gen

parent dc52b97a
......@@ -33,11 +33,11 @@ _do echo "allow-loopback-pinentry" > ~/.gnupg/gpg-agent.conf
_do gpg-connect-agent reloadagent /bye
# prepare the build environment
_log command "Setting up etc/locale.conf..."
_log command "Setting up locale.conf..."
_do touch "/etc/locale.conf"
_do sh -c "echo 'LANG=C' >> '/etc/locale.conf'"
_do sh -c "echo 'LC_MESSAGES=C' >> '/etc/locale.conf'"
_log command "/Setting up etc/locale.gen..."
_do sh -c "echo 'en_US.UTF-8 UTF-8' >> '/etc/locale.gen'"
_do sh -c "locale-gen"
_log command "Setting up locale.gen..."
_do sh -c "sed -i '/#en_US.UTF-8 UTF-8/s/^#//g' /etc/locale.gen"
_do locale-gen
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment