Skip to content

Commit ec03a55

Browse files
mchehabgregkh
authored andcommitted
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 <[email protected]> Signed-off-by: Sasha Levin <[email protected]>
1 parent 628272f commit ec03a55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: scripts/sphinx-pre-install

+1-1
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ sub give_redhat_hints()
301301
#
302302
# Checks valid for RHEL/CentOS version 7.x.
303303
#
304-
if (! $system_release =~ /Fedora/) {
304+
if (!($system_release =~ /Fedora/)) {
305305
$map{"virtualenv"} = "python-virtualenv";
306306
}
307307

0 commit comments

Comments
 (0)