diff options
author | Jeremy MAURO <jeremy.mauro@gmail.com> | 2019-10-02 15:35:42 +0200 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2019-10-03 18:49:08 +0200 |
commit | 9692f2fdb163a4a5e79ddb9b7e0f15d30384c7c2 (patch) | |
tree | add740faaf42d3c8adf70061c0a898f004efe0e3 /scripts | |
parent | scripts/sphinx-pre-install: allow checking for multiple missing files (diff) | |
download | linux-9692f2fdb163a4a5e79ddb9b7e0f15d30384c7c2.tar.xz linux-9692f2fdb163a4a5e79ddb9b7e0f15d30384c7c2.zip |
scripts/sphinx-pre-install: Add a new path for the debian package "fonts-noto-cjk"
The latest debian version "bullseye/sid" has changed the path of the file
"notoserifcjk-regular.ttc", with the previous change and this change we
keep the backward compatibility and add the latest debian version
Signed-off-by: Jeremy MAURO <j.mauro@criteo.com>
Reviewed-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/sphinx-pre-install | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/sphinx-pre-install b/scripts/sphinx-pre-install index 646b97790e1a..68385fa62ff4 100755 --- a/scripts/sphinx-pre-install +++ b/scripts/sphinx-pre-install @@ -348,7 +348,8 @@ sub give_debian_hints() check_missing_file(["/usr/share/fonts/truetype/dejavu/DejaVuSans.ttf"], "fonts-dejavu", 2); - check_missing_file(["/usr/share/fonts/noto-cjk/NotoSansCJK-Regular.ttc"], + check_missing_file(["/usr/share/fonts/noto-cjk/NotoSansCJK-Regular.ttc", + "/usr/share/fonts/opentype/noto/NotoSerifCJK-Regular.ttc"], "fonts-noto-cjk", 2); } |