diff options
author | Remi Collet <remi@remirepo.net> | 2024-08-13 17:32:07 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2024-08-13 17:32:07 +0200 |
commit | 32fd8c26044f8b7414b13db5b4a35b92ed044b99 (patch) | |
tree | 7703845f8dfbe4de278e2ed10a73f3ae69332f20 | |
parent | 7691eadb0bbea1ad4474eb273ec047158801bae4 (diff) |
Wizard: fix testing repo name
-rw-r--r-- | wizard/index.php | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/wizard/index.php b/wizard/index.php index 20288004..592d3471 100644 --- a/wizard/index.php +++ b/wizard/index.php @@ -118,7 +118,7 @@ $phpvers = [ ]; $phpname = [ ':devel' => 'Development version, not ready for production', - '8.4' => '8.4.0alpha4', + '8.4' => '8.4.0beta1', ':stable' => 'Stable versions - usage recommended', '8.3' => '8.3.10 (active support until December 2025)', '8.2' => '8.2.22 (active support until December 2024)', @@ -349,8 +349,8 @@ if ($php && $os && $type && !$err) { printf("<li>Sorry, but PHP version older than <b>%s</b> are not available for <b>%s</b>, try multiple versions.</li><br />", $min, $os); } else { - if ($dist == 'Fedora' && version_compare($php, $tmp=(is_array($osvers[$os]) ? $osvers[$os][0] : $osvers[$os]), '=')) { - $repo = 'remi'; + if ($mod) { + $repo = 'remi-modular'; } else { $repo = $phpvers[$php]; } @@ -396,11 +396,7 @@ if ($php && $os && $type && !$err) { if (version_compare($php, '7.0', '>=')) { printf("<li>Command to install <b>testing</b> packages:"); - if ($dist != 'Fedora' && $mod) { - printf("<pre> $yum --enablerepo=remi-modular-test install php-xxx</pre>", $repo); - } else { - printf("<pre> $yum --enablerepo=%s-test install php-xxx</pre>", $repo); - } + printf("<pre> $yum --enablerepo=%s-test install php-xxx</pre>", $repo); printf("</li><br />"); } |