Missing syntax in locale.gen

This commit is contained in:
Lord Anton Hvornum 2018-04-12 21:32:58 +02:00
parent adfe5599d1
commit 1c1a3490dd
1 changed files with 1 additions and 1 deletions

View File

@ -274,7 +274,7 @@ if __name__ == '__main__':
#o = run('arch-chroot /mnt echo "{hostname}" > /etc/hostname'.format(**args))
#o = run("arch-chroot /mnt sed -i 's/#\(en_US\.UTF-8\)/\1/' /etc/locale.gen")
o = run("arch-chroot /mnt sh -c \"echo '{hostname}' > /etc/hostname\"".format(**args))
o = run("arch-chroot /mnt sh -c \"echo -n 'en_US.UTF-8' > /etc/locale.gen\"")
o = run("arch-chroot /mnt sh -c \"echo -n 'en_US.UTF-8 UTF-8' > /etc/locale.gen\"")
o = run("arch-chroot /mnt sh -c \"echo -n 'LANG=en_US.UTF-8' > /etc/locale.conf\"")
o = run('arch-chroot /mnt locale-gen')
o = run('arch-chroot /mnt chmod 700 /root')