Apparently it needs a full LANG line.

This commit is contained in:
Teo Mrnjavac 2016-05-30 17:10:18 +02:00
parent 9272d3d5b0
commit f00d1dd654

View File

@ -74,6 +74,6 @@ def run():
if os.path.isdir(etc_default_path): if os.path.isdir(etc_default_path):
with open(os.path.join(etc_default_path, "locale"), "w") as etc_default_locale: with open(os.path.join(etc_default_path, "locale"), "w") as etc_default_locale:
locale_split = locale.split(' ')[0] locale_split = locale.split(' ')[0]
etc_default_locale.write("{!s}\n".format(locale_split)) etc_default_locale.write("LANG={!s}\n".format(locale_split))
return None return None