Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall
diff options
context:
space:
mode:
authorDaniel Girtler <blackrabbit256@gmail.com>2022-05-10 15:07:03 +1000
committerGitHub <noreply@github.com>2022-05-10 07:07:03 +0200
commit2492f571ead65f339b7ecdfe9e97d9b6ab9f2522 (patch)
treec390def69080e0ad6bfbb985bda00673a794321c /archinstall
parent5bf9382dd6082683abfc15d3bf69067509cf4672 (diff)
Set the unicode cyrillic font by default (#1153)
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
Diffstat (limited to 'archinstall')
-rw-r--r--archinstall/__init__.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/archinstall/__init__.py b/archinstall/__init__.py
index f3620648..c3e67a05 100644
--- a/archinstall/__init__.py
+++ b/archinstall/__init__.py
@@ -55,6 +55,10 @@ storage['__version__'] = __version__
DeferredTranslation.install()
+def set_unicode_font():
+ SysCommand('setfont UniCyr_8x16')
+
+
def define_arguments():
"""
Define which explicit arguments do we allow.
@@ -243,6 +247,9 @@ def post_process_arguments(arguments):
load_config()
+# to ensure that cyrillic characters work in the installer
+set_unicode_font()
+
define_arguments()
arguments = get_arguments()
post_process_arguments(arguments)