scripts: sphinx-pre-install: fix a dependency hint with Ubuntu 16.04
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 14 Apr 2020 16:56:10 +0000 (18:56 +0200)
committerJonathan Corbet <corbet@lwn.net>
Mon, 20 Apr 2020 21:19:12 +0000 (15:19 -0600)
Avoid the scripts to keep asking to install fonts-noto-cjk
on Ubuntu 16.04.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Link: https://lore.kernel.org/r/912b664a8ca54e8c5c5767c3fe9171973eeddd6b.1586883286.git.mchehab+huawei@kernel.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
scripts/sphinx-pre-install

index 6d6d284..ba750f7 100755 (executable)
@@ -349,7 +349,8 @@ sub give_debian_hints()
                                   "fonts-dejavu", 2);
 
                check_missing_file(["/usr/share/fonts/noto-cjk/NotoSansCJK-Regular.ttc",
-                                  "/usr/share/fonts/opentype/noto/NotoSerifCJK-Regular.ttc"],
+                                   "/usr/share/fonts/opentype/noto/NotoSansCJK-Regular.ttc",
+                                   "/usr/share/fonts/opentype/noto/NotoSerifCJK-Regular.ttc"],
                                   "fonts-noto-cjk", 2);
        }