fix: locales

This commit is contained in:
Rudra Saraswat 2024-02-18 13:19:41 +05:30
parent 8add221ca0
commit 844a3f851b

View file

@ -325,11 +325,9 @@ def inst_akshara(config):
['rm', '-f', '/etc/locale.gen'])
for locale in ['en_US.UTF-8', 'de_DE.UTF-8', 'fr_FR.UTF-8', 'es_ES.UTF-8', 'zh_CN.UTF-8', 'ja_JP.UTF-8', 'ru_RU.UTF-8', 'ar_EG.UTF-8']:
exec_chroot(
['bash', '-c', f'echo "{locale}" >> /etc/locale.gen'])
['bash', '-c', f'echo "{locale} UTF-8" >> /etc/locale.gen'])
exec_chroot(
['locale-gen'])
exec_chroot(
['bash', '-c', f'echo "LANG=en_US.UTF-8" >> /etc/locale.gen'])
system_config = {
'repo': 'https://pkg-repo.blendos.co',