projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21c9a4d
)
scripts: sphinx-pre-install: Fix ctex support on Debian
author
Mauro Carvalho Chehab
<mchehab@kernel.org>
Thu, 6 Jan 2022 00:41:02 +0000
(
01:41
+0100)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Thu, 27 Jan 2022 10:05:44 +0000
(11:05 +0100)
commit
87d6576ddf8ac25f36597bc93ca17f6628289c16
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>
scripts/sphinx-pre-install
patch
|
blob
|
history
diff --git
a/scripts/sphinx-pre-install
b/scripts/sphinx-pre-install
index 46aaab414098ad68248ade5758dd2744ec3e76ea..f126ecbb0494dd1cefd01e9c3137a626f947fc32 100755
(executable)
--- a/
scripts/sphinx-pre-install
+++ b/
scripts/sphinx-pre-install
@@
-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);