Update booster.postinst
This commit is contained in:
parent
9b36da8dd4
commit
a77735f670
8
debian/booster.postinst
vendored
8
debian/booster.postinst
vendored
@ -4,6 +4,14 @@ set -e
|
|||||||
|
|
||||||
touch /etc/vconsole.conf
|
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
|
# Check if there are entries in crypttab
|
||||||
crypt_check=$(cat /etc/crypttab | grep -v '^#' || true)
|
crypt_check=$(cat /etc/crypttab | grep -v '^#' || true)
|
||||||
if [[ -n $crypt_check ]]
|
if [[ -n $crypt_check ]]
|
||||||
|
Loading…
Reference in New Issue
Block a user