scripts: sphinx-pre-install: fix version check for Fedora
The script is now picking the wrong version. Fix it. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Signed-off-by: Jonathan Corbet <corbet@lwn.net> Link: https://lore.kernel.org/r/9d1e5c9906534e2bae586f891770066346463146.1754992972.git.mchehab+huawei@kernel.org
This commit is contained in:
committed by
Jonathan Corbet
parent
8f5ae30d69
commit
7bb184222e
@@ -413,7 +413,7 @@ sub give_redhat_hints()
|
||||
my $old = 0;
|
||||
my $rel;
|
||||
my $noto_sans_redhat = "google-noto-sans-cjk-ttc-fonts";
|
||||
$rel = $1 if ($system_release =~ /(release|Linux)\s+(\d+)/);
|
||||
$rel = $2 if ($system_release =~ /(release|Linux)\s+(\d+)/);
|
||||
|
||||
if (!($system_release =~ /Fedora/)) {
|
||||
$map{"virtualenv"} = "python-virtualenv";
|
||||
|
||||
Reference in New Issue
Block a user