Commit b3df6223 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab Committed by Jonathan Corbet

scripts: sphinx-pre-install: improve openSuse Tumbleweed check

Currently, with openSUSE Tumbleweed 20200303, it keeps
recommending this forever:

	sudo zypper install --no-recommends rsvg-view

This dependency will never be fulfilled there, as the package
now is named as on other distros: rsvg-convert.

So, improve the detection to avoid such issue.
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Link: https://lore.kernel.org/r/c3774f72ac36c5e5b5f446ae5db5b795d1f274f4.1586883286.git.mchehab+huawei@kernel.orgSigned-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent d14d0c1a
...@@ -446,9 +446,11 @@ sub give_opensuse_hints() ...@@ -446,9 +446,11 @@ sub give_opensuse_hints()
"convert" => "ImageMagick", "convert" => "ImageMagick",
"Pod::Usage" => "perl-Pod-Usage", "Pod::Usage" => "perl-Pod-Usage",
"xelatex" => "texlive-xetex-bin", "xelatex" => "texlive-xetex-bin",
"rsvg-convert" => "rsvg-view",
); );
# On Tumbleweed, this package is also named rsvg-convert
$map{"rsvg-convert"} = "rsvg-view" if (!($system_release =~ /Tumbleweed/));
my @suse_tex_pkgs = ( my @suse_tex_pkgs = (
"texlive-babel-english", "texlive-babel-english",
"texlive-caption", "texlive-caption",
......
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