Kaydet (Commit) fde3bf7f authored tarafından Your Name's avatar Your Name

fix

üst 977bab9b
......@@ -426,8 +426,7 @@ class InstallerEngine:
our_current += 1
self.update_progress(our_current, our_total, False,
False, ("Setting locale"))
os.system("echo \"LC_COLLATE=C\" > /target/etc/env.d/02locale" %
self.setup.language)
os.system("echo \"LC_COLLATE=C\" > /target/etc/env.d/02locale")
os.system("echo \"LC_ALL=%s.UTF-8\" >> /target/etc/env.d/02locale" %
self.setup.language)
os.system("echo \"LANG=%s.UTF-8\" >> /target/etc/env.d/02locale" %
......@@ -451,7 +450,7 @@ class InstallerEngine:
self.setup.keyboard_layout="en"
if not self.setup.keyboard_variant:
self.setup.keyboard_variant=""
newconsolefh.write("keymap=\"%s%s\"\n" % self.setup.keyboard_layout,self.setup.keyboard_variant)
newconsolefh.write("keymap=\"{}{}\"\n".format(self.setup.keyboard_layout,self.setup.keyboard_variant))
newconsolefh.close()
#Keyboard settings X11
newconsolefh = open("/etc/X11/xorg.conf.d/00-keyboard.conf", "w")
......
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