Skip to content

Commit

Permalink
fix(i18n): create the keyboard symlinks again
Browse files Browse the repository at this point in the history
Invalid space broke the creation of the keyboard subdirectories,
leading to a symbolic link

usr/share/consolefonts,consoletrans,keymaps,unimaps ->
/usr/lib/kbd/consolefonts,consoletrans,keymaps,unimaps

in the created initramfs.

With this fix the correct symlinks are created again:

usr/share/consolefonts -> /usr/lib/kbd/consolefonts
usr/share/consoletrans -> /usr/lib/kbd/consoletrans
usr/share/keymaps -> /usr/lib/kbd/keymaps
usr/share/unimaps -> /usr/lib/kbd/unimaps
  • Loading branch information
haraldh committed Feb 16, 2021
1 parent 2c9debe commit 9e1c7f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules.d/10i18n/module-setup.sh
Expand Up @@ -110,7 +110,7 @@ install() {
if [[ ${kbddir} != "/usr/share" ]]; then
inst_dir /usr/share
for _src in $(eval echo "{ ${KBDSUBDIRS} }"); do
for _src in $(eval echo "{${KBDSUBDIRS}}"); do
[ ! -e "${initdir}/usr/share/${_src}" ] && ln -s "${kbddir}/${_src}" "${initdir}/usr/share/${_src}"
done
fi
Expand Down

0 comments on commit 9e1c7f3

Please sign in to comment.