From 5cd219a566e45f812b6c4a41a5e637d92f97b0a7 Mon Sep 17 00:00:00 2001 From: Alex Sivchev Date: Tue, 14 Jun 2022 09:19:35 +0300 Subject: setup-keymap: accept 'none' as LAYOUT This allows selecting 'none' via KEYMAPOPTS in answer file. --- setup-keymap.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/setup-keymap.in b/setup-keymap.in index 92d8b79..bb4f55d 100644 --- a/setup-keymap.in +++ b/setup-keymap.in @@ -115,6 +115,9 @@ deflayout="$1" defvariant="$2" while true; do if [ -n "$deflayout" ]; then + if [ "$deflayout" = "none" ]; then + goodbye 0 + fi layout="$deflayout" unset deflayout else -- cgit v1.2.3