Commit 353290a9 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

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: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
parent 56e5a633
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment