]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: add paths of keymaps in install_keymaps()
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 19 Sep 2018 01:54:16 +0000 (10:54 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 9 Oct 2018 10:11:21 +0000 (19:11 +0900)
It seems that the paths of directories storing keymaps are changed.

test/test-functions

index 66f60f460fef6b8c51b9ceae468e4a9c6cd7f7ef..dc3b06e22eaa5be03a4c48e502c6dff0cebab1de 100644 (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