chakra-init-live: added locale for en_US, hopefully the error in tribe will be gone

This commit is contained in:
Michael 2012-10-25 21:38:29 +00:00
parent a6eeaa30c5
commit 622f78e408
2 changed files with 2 additions and 1 deletions

View File

@ -15,7 +15,7 @@ makedepends=('asciidoc')
install=${pkgname}.install
source=('live' 'locale_setup.sh' '10-keyboard.conf')
md5sums=('9a3480b6795a0bb48523e7714195a549'
'32428f48d276e15e9e927593f12d4c92'
'd5640418bdfb4970ccec0f0392fc023b'
'4df9f3c64316cf8b7f93729b389d704f')
package() {

View File

@ -354,6 +354,7 @@ set_locale() {
# except the # in a group and replace it with this group (that's the \1)
local TLANG=${LOCALE%.*} # remove everything after the ., including the dot from LOCALE
sed -i -r "s/#(.*${TLANG}.*UTF-8)/\1/g" /etc/locale.gen
sed -i -r "s/#(en_US.*UTF-8)/\1/g" /etc/locale.gen
echo "LANG=$LOCALE" > /etc/locale.conf
echo "LC_MESSAGES=$LOCALE" >> /etc/locale.conf
# generate LOCALE