Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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

authored by

Mauro Carvalho Chehab and committed by
Jonathan Corbet
61aeda1e c6b5b155

+1 -1
+1 -1
scripts/sphinx-pre-install
··· 413 413 my $old = 0; 414 414 my $rel; 415 415 my $noto_sans_redhat = "google-noto-sans-cjk-ttc-fonts"; 416 - $rel = $1 if ($system_release =~ /release\s+(\d+)/); 416 + $rel = $1 if ($system_release =~ /(release|Linux)\s+(\d+)/); 417 417 418 418 if (!($system_release =~ /Fedora/)) { 419 419 $map{"virtualenv"} = "python-virtualenv";