Commit b308467c authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

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



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: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
parent e0de2b59
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -371,7 +371,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";
	}