scripts/sphinx-pre-install: fix script for RHEL/CentOS

[ Upstream commit b308467c916aa7acc5069802ab76a9f657434701 ]

There's a missing parenthesis at the script, with causes it to
fail to detect non-Fedora releases (e. g. RHEL/CentOS).

Tested with Centos 7.6.1810.

Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
tirimbino
Mauro Carvalho Chehab 6 years ago committed by Greg Kroah-Hartman
parent 628272f3f3
commit ec03a559e6
  1. 2
      scripts/sphinx-pre-install

@ -301,7 +301,7 @@ sub give_redhat_hints()
#
# Checks valid for RHEL/CentOS version 7.x.
#
if (! $system_release =~ /Fedora/) {
if (!($system_release =~ /Fedora/)) {
$map{"virtualenv"} = "python-virtualenv";
}

Loading…
Cancel
Save