change check to localectl instead of loadkeys

This commit is contained in:
Tobias Powalowski 2022-11-25 14:45:46 +01:00
parent 24ae7c50c4
commit 085d0a39a0

View file

@ -130,8 +130,8 @@ if [[ ! -d ${BASEDIR}/consolefonts ]]; then
echo "Cannot load consolefonts, as none were found in ${BASEDIR}/consolefonts" >&2
fi
if [[ ! $(which loadkeys) ]]; then
echo "'loadkeys' binary not found!" >&2
if [[ ! $(which localectl) ]]; then
echo "'localectl' binary not found!" >&2
exit 1
fi