Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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);