mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-04 01:27:19 +08:00
chakra-init-live: added locale for en_US, hopefully the error in tribe will be gone
This commit is contained in:
parent
a6eeaa30c5
commit
622f78e408
@ -15,7 +15,7 @@ makedepends=('asciidoc')
|
||||
install=${pkgname}.install
|
||||
source=('live' 'locale_setup.sh' '10-keyboard.conf')
|
||||
md5sums=('9a3480b6795a0bb48523e7714195a549'
|
||||
'32428f48d276e15e9e927593f12d4c92'
|
||||
'd5640418bdfb4970ccec0f0392fc023b'
|
||||
'4df9f3c64316cf8b7f93729b389d704f')
|
||||
|
||||
package() {
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user