]> git.ipfire.org Git - thirdparty/dracut.git/commit
fix(i18n): skip if data is missing
authorĐoàn Trần Công Danh <congdanhqx@gmail.com>
Mon, 12 Apr 2021 15:23:02 +0000 (22:23 +0700)
committerHarald Hoyer <harald@hoyer.xyz>
Tue, 13 Apr 2021 09:12:37 +0000 (11:12 +0200)
commit651fe01e7937d86bbd471d9621581bed44f23dfa
tree7290f8c66b7106fd6832d20055008987d4359178
parent96c313333d1a4f5e2c524a3a11c5b3aab24afc20
fix(i18n): skip if data is missing

On system that doesn't have either consolefonts, consoletrans, keymaps,
or unimaps, "kbddir" is empty, thus the followed installation will
broken with errors like:

cp: cannot stat '/consolefonts/*': No such file or directory

Let's report the checks as failure if "kbddir" is empty.

Signed-off-by: Đoàn Trần Công Danh <congdanhqx@gmail.com>
modules.d/10i18n/module-setup.sh