summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Sivchev <enn00th@gmail.com>2022-06-14 09:19:35 +0300
committerNatanael Copa <ncopa@alpinelinux.org>2022-06-28 12:56:20 +0200
commit5cd219a566e45f812b6c4a41a5e637d92f97b0a7 (patch)
tree8361f19b62ffaf68e85861fecf29055f0c30eeaf
parente43941756aa8430effbd7c42a831adee6132a004 (diff)
downloadalpine-conf-5cd219a566e45f812b6c4a41a5e637d92f97b0a7.zip
setup-keymap: accept 'none' as LAYOUT
This allows selecting 'none' via KEYMAPOPTS in answer file.
-rw-r--r--setup-keymap.in3
1 files changed, 3 insertions, 0 deletions
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