From: Jeremy MAURO Date: Wed, 2 Oct 2019 13:35:42 +0000 (+0200) Subject: scripts/sphinx-pre-install: Add a new path for the debian package "fonts-noto-cjk" X-Git-Tag: v5.10.7~3738^2~71 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9692f2fdb163a4a5e79ddb9b7e0f15d30384c7c2;p=platform%2Fkernel%2Flinux-rpi.git 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 Reviewed-by: Mauro Carvalho Chehab Signed-off-by: Jonathan Corbet --- diff --git a/scripts/sphinx-pre-install b/scripts/sphinx-pre-install index 646b977..68385fa 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); }