Skip to content

Commit

Permalink
test: add paths of keymaps in install_keymaps()
Browse files Browse the repository at this point in the history
It seems that the paths of directories storing keymaps are changed.

(cherry picked from commit 83a7051)

Resolves: #1823767
  • Loading branch information
yuwata authored and mrc0mmand committed Apr 14, 2020
1 parent e02d918 commit 808bf3d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/test-functions
Original file line number Diff line number Diff line change
Expand Up @@ -619,10 +619,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
Expand Down

0 comments on commit 808bf3d

Please sign in to comment.