From 32fd8c26044f8b7414b13db5b4a35b92ed044b99 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 13 Aug 2024 17:32:07 +0200 Subject: Wizard: fix testing repo name --- wizard/index.php | 12 ++++-------- 1 file 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("
  • Sorry, but PHP version older than %s are not available for %s, try multiple versions.

  • ", $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("
  • Command to install testing packages:"); - if ($dist != 'Fedora' && $mod) { - printf("
        $yum --enablerepo=remi-modular-test install php-xxx
    ", $repo); - } else { - printf("
        $yum --enablerepo=%s-test install php-xxx
    ", $repo); - } + printf("
        $yum --enablerepo=%s-test install php-xxx
    ", $repo); printf("

  • "); } -- cgit