mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 12:43:29 +02:00
scripts/sphinx-pre-install: fix latexmk dependencies
The name of the package with carries latexmk is different on two distros: - On OpenSUSE, latexmk is packaged as "texlive-latexmk-bin" - On Mageia, latexmk is packaged at "texlive-collection-basic" Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
This commit is contained in:
@@ -454,6 +454,8 @@ sub give_opensuse_hints()
|
||||
"texlive-zapfding",
|
||||
);
|
||||
|
||||
$map{"latexmk"} = "texlive-latexmk-bin";
|
||||
|
||||
check_rpm_missing(\@suse_tex_pkgs, 2) if ($pdf);
|
||||
check_missing_tex(2) if ($pdf);
|
||||
check_missing(\%map);
|
||||
@@ -479,6 +481,8 @@ sub give_mageia_hints()
|
||||
"texlive-fontsextra",
|
||||
);
|
||||
|
||||
$map{"latexmk"} = "texlive-collection-basic";
|
||||
|
||||
check_rpm_missing(\@tex_pkgs, 2) if ($pdf);
|
||||
check_missing(\%map);
|
||||
|
||||
|
Reference in New Issue
Block a user