Commit 9692f2fd authored by Jeremy MAURO's avatar Jeremy MAURO Committed by Jonathan Corbet
Browse files

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: default avatarJeremy MAURO <j.mauro@criteo.com>
Reviewed-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent ff8fdb36
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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);
	}