mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 01:49:46 +00:00
scripts: sphinx-pre-install: fix release detection for Fedora
Fedora distros are now identified as: Fedora Linux 42 Fix the way script detects 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/c2a34860bd986cc5f81fc25554ed91629736e995.1750571906.git.mchehab+huawei@kernel.org
This commit is contained in:
committed by
Jonathan Corbet
parent
c6b5b1559c
commit
61aeda1e5c
@@ -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\s+(\d+)/);
|
||||
$rel = $1 if ($system_release =~ /(release|Linux)\s+(\d+)/);
|
||||
|
||||
if (!($system_release =~ /Fedora/)) {
|
||||
$map{"virtualenv"} = "python-virtualenv";
|
||||
|
||||
Reference in New Issue
Block a user