mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-14 07:44:21 +08:00
scripts: sphinx-pre-install: Fix ctex support on Debian
commit 87d6576ddf
upstream.
The name of the package with ctexhook.sty is different on
Debian/Ubuntu.
Reported-by: Akira Yokosawa <akiyks@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Tested-by: Akira Yokosawa <akiyks@gmail.com>
Link: https://lore.kernel.org/r/63882425609a2820fac78f5e94620abeb7ed5f6f.1641429634.git.mchehab@kernel.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
21c9a4d2cd
commit
4ea9b8ed64
@ -370,6 +370,9 @@ sub give_debian_hints()
|
||||
);
|
||||
|
||||
if ($pdf) {
|
||||
check_missing_file(["/usr/share/texlive/texmf-dist/tex/latex/ctex/ctexhook.sty"],
|
||||
"texlive-lang-chinese", 2);
|
||||
|
||||
check_missing_file(["/usr/share/fonts/truetype/dejavu/DejaVuSans.ttf"],
|
||||
"fonts-dejavu", 2);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user