Fixed a bug where no locale generated a hang because loadkeys needs at least one option in set_keyboard_language()
This commit is contained in:
parent
72f9c07e43
commit
f6460b8634
|
|
@ -82,8 +82,8 @@ archinstall.sys_command(f'cryptsetup close /dev/mapper/luksloop', suppress_error
|
|||
will we continue with the actual installation steps.
|
||||
"""
|
||||
|
||||
keyboard_language = archinstall.select_language(archinstall.list_keyboard_languages())
|
||||
archinstall.set_keyboard_language(keyboard_language)
|
||||
if len(keyboard_language := archinstall.select_language(archinstall.list_keyboard_languages()).strip()):
|
||||
archinstall.set_keyboard_language(keyboard_language)
|
||||
|
||||
# Create a storage structure for all our information.
|
||||
# We'll print this right before the user gets informed about the formatting timer.
|
||||
|
|
|
|||
Loading…
Reference in New Issue