Fallback to us keymap if it cannot be detected from the running system

This commit is contained in:
oddlama 2021-05-29 21:44:54 +02:00
parent e7172280a8
commit 49cbc77c17
No known key found for this signature in database
GPG Key ID: 14EFE510775FE39A
1 changed files with 1 additions and 1 deletions

2
configure vendored
View File

@ -76,7 +76,7 @@ function get_timezone() {
function get_default_keymap() { function get_default_keymap() {
local keymap local keymap
keymap="$(grep KEYMAP /etc/vconsole.conf)" keymap="$(grep KEYMAP /etc/vconsole.conf 2>/dev/null || echo "KEYMAP=us")"
keymap="${keymap#KEYMAP=}" keymap="${keymap#KEYMAP=}"
local map local map