scripts: sphinx-pre-install: improve openSuse Tumbleweed check
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 14 Apr 2020 16:56:09 +0000 (18:56 +0200)
committerJonathan Corbet <corbet@lwn.net>
Mon, 20 Apr 2020 21:19:12 +0000 (15:19 -0600)
commitb3df6223bdea763ed666b06a4e7431f40b33da67
treeed27b858ff79e2eb72da84c8070c8d45938b3e46
parentd14d0c1aea8fe0eb61b7788a3b546475e183b079
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: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Link: https://lore.kernel.org/r/c3774f72ac36c5e5b5f446ae5db5b795d1f274f4.1586883286.git.mchehab+huawei@kernel.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
scripts/sphinx-pre-install