Skip to content

Commit 87d6576

Browse files
mchehabJonathan Corbet
authored andcommitted
scripts: sphinx-pre-install: Fix ctex support on Debian
The name of the package with ctexhook.sty is different on Debian/Ubuntu. Reported-by: Akira Yokosawa <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]> Tested-by: Akira Yokosawa <[email protected]> Link: https://lore.kernel.org/r/63882425609a2820fac78f5e94620abeb7ed5f6f.1641429634.git.mchehab@kernel.org Signed-off-by: Jonathan Corbet <[email protected]>
1 parent db67eb7 commit 87d6576

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

scripts/sphinx-pre-install

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -370,6 +370,9 @@ sub give_debian_hints()
370370
);
371371

372372
if ($pdf) {
373+
check_missing_file(["/usr/share/texlive/texmf-dist/tex/latex/ctex/ctexhook.sty"],
374+
"texlive-lang-chinese", 2);
375+
373376
check_missing_file(["/usr/share/fonts/truetype/dejavu/DejaVuSans.ttf"],
374377
"fonts-dejavu", 2);
375378

0 commit comments

Comments
 (0)