mirror of
https://github.com/torvalds/linux.git
synced 2024-12-30 14:52:05 +00: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:
parent
56e5a63392
commit
353290a9eb
@ -454,6 +454,8 @@ sub give_opensuse_hints()
|
|||||||
"texlive-zapfding",
|
"texlive-zapfding",
|
||||||
);
|
);
|
||||||
|
|
||||||
|
$map{"latexmk"} = "texlive-latexmk-bin";
|
||||||
|
|
||||||
check_rpm_missing(\@suse_tex_pkgs, 2) if ($pdf);
|
check_rpm_missing(\@suse_tex_pkgs, 2) if ($pdf);
|
||||||
check_missing_tex(2) if ($pdf);
|
check_missing_tex(2) if ($pdf);
|
||||||
check_missing(\%map);
|
check_missing(\%map);
|
||||||
@ -479,6 +481,8 @@ sub give_mageia_hints()
|
|||||||
"texlive-fontsextra",
|
"texlive-fontsextra",
|
||||||
);
|
);
|
||||||
|
|
||||||
|
$map{"latexmk"} = "texlive-collection-basic";
|
||||||
|
|
||||||
check_rpm_missing(\@tex_pkgs, 2) if ($pdf);
|
check_rpm_missing(\@tex_pkgs, 2) if ($pdf);
|
||||||
check_missing(\%map);
|
check_missing(\%map);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user