fix: locales dont always include the utf-8 notation
This commit is contained in:
parent
31ccd8c919
commit
09e14e552f
@ -1,5 +1,5 @@
|
|||||||
pikainstall (1.1.6-100pika8) pikauwu; urgency=medium
|
pikainstall (1.1.7-1pika1) pikauwu; urgency=medium
|
||||||
|
|
||||||
* Initial release.
|
* (Hopefully) fix a issue with the locales
|
||||||
|
|
||||||
-- Ward Nakchbandi <hotrod.master@hotmail.com> Fri, 07 Oct 2022 23:26:00 +0300 -- ferreo <harderthanfire@gmail.com> Wed, 18 Jan 2023 21:48:14 +0000
|
-- Ward Nakchbandi <hotrod.master@hotmail.com> Fri, 07 Oct 2022 23:26:00 +0300 -- ferreo <harderthanfire@gmail.com> Wed, 18 Jan 2023 21:48:14 +0000
|
||||||
|
@ -6,7 +6,7 @@ import subprocess
|
|||||||
import os, errno
|
import os, errno
|
||||||
|
|
||||||
# Version
|
# Version
|
||||||
version="1.1.6"
|
version="1.1.7"
|
||||||
dist="PikaOS 3"
|
dist="PikaOS 3"
|
||||||
image="/cdrom/casper/filesystem.squashfs"
|
image="/cdrom/casper/filesystem.squashfs"
|
||||||
|
|
||||||
@ -48,7 +48,7 @@ cp -rvf /key-*.txt {CHROOT_PATH}/
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
_LANG_SETUP_FILE = """#!/usr/bin/bash
|
_LANG_SETUP_FILE = """#!/usr/bin/bash
|
||||||
update-locale LANG={LOCALE}.UTF-8
|
update-locale LANG={LOCALE}
|
||||||
touch /etc/default/keyboard
|
touch /etc/default/keyboard
|
||||||
echo 'XKBMODEL="pc105"' > /etc/default/keyboard
|
echo 'XKBMODEL="pc105"' > /etc/default/keyboard
|
||||||
echo 'XKBLAYOUT="{KEYBOARD}"' >> /etc/default/keyboard
|
echo 'XKBLAYOUT="{KEYBOARD}"' >> /etc/default/keyboard
|
||||||
@ -57,7 +57,7 @@ echo 'XKBOPTIONS=""' >> /etc/default/keyboard
|
|||||||
echo 'BACKSPACE="guess"' >> /etc/default/keyboard
|
echo 'BACKSPACE="guess"' >> /etc/default/keyboard
|
||||||
echo 'KEYMAP={KEYBOARD}' >> /etc/default/keyboard
|
echo 'KEYMAP={KEYBOARD}' >> /etc/default/keyboard
|
||||||
cp -fv /etc/default/keyboard /etc/vconsole.conf
|
cp -fv /etc/default/keyboard /etc/vconsole.conf
|
||||||
localectl set-locale LANG={LOCALE}.UTF-8
|
localectl set-locale LANG={LOCALE}
|
||||||
timedatectl set-timezone {TIMEZONE}
|
timedatectl set-timezone {TIMEZONE}
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user