Update booster.postinst
This commit is contained in:
parent
0f865e1727
commit
ab89318b9d
7
debian/booster.postinst
vendored
7
debian/booster.postinst
vendored
@ -4,6 +4,13 @@ set -e
|
||||
|
||||
touch /etc/vconsole.conf
|
||||
|
||||
if cat /etc/vconsole.conf | grep -i 'KEYMAP='
|
||||
then
|
||||
true
|
||||
else
|
||||
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 ]]
|
||||
|
Loading…
Reference in New Issue
Block a user