test: add paths of keymaps in install_keymaps()

It seems that the paths of directories storing keymaps are changed.
This commit is contained in:
Yu Watanabe 2018-09-19 10:54:16 +09:00
parent 7d10ec1cda
commit 83a7051ee1
1 changed files with 5 additions and 1 deletions

View File

@ -623,10 +623,14 @@ install_pam() {
}
install_keymaps() {
# The first three paths may be deprecated.
# It seems now the last two paths are used by many distributions.
for i in \
/usr/lib/kbd/keymaps/include/* \
/usr/lib/kbd/keymaps/i386/include/* \
/usr/lib/kbd/keymaps/i386/qwerty/us.*; do
/usr/lib/kbd/keymaps/i386/qwerty/us.* \
/usr/lib/kbd/keymaps/legacy/include/* \
/usr/lib/kbd/keymaps/legacy/i386/qwerty/us.*; do
[[ -f $i ]] || continue
inst $i
done