From a77735f670b10f5aba33c82703b9ef5b16d0a50a Mon Sep 17 00:00:00 2001 From: ferrreo Date: Thu, 19 Oct 2023 16:45:41 +0100 Subject: [PATCH] Update booster.postinst --- debian/booster.postinst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/debian/booster.postinst b/debian/booster.postinst index 4fd36e9..9253094 100644 --- a/debian/booster.postinst +++ b/debian/booster.postinst @@ -4,6 +4,14 @@ set -e touch /etc/vconsole.conf +if cat /etc/vconsole.conf | grep -i 'KEYMAP=' +then + true +e lse + echo "KEYMAP="us"" >> /etc/vconsole.conf +fi + + # Check if there are entries in crypttab crypt_check=$(cat /etc/crypttab | grep -v '^#' || true) if [[ -n $crypt_check ]]