From 66de8999e3b641fac73de366ba8ca17d20f2f2cd Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 21 Dec 2021 09:55:31 +0100 Subject: Wizard: tweak EPEL-9 info --- wizard/index.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'wizard/index.php') diff --git a/wizard/index.php b/wizard/index.php index ff206f41..3fadbad6 100644 --- a/wizard/index.php +++ b/wizard/index.php @@ -12,6 +12,7 @@ define('FC_EOL', 33); define('FC_DEV', 36); define('EL_EOL', 6); define('EL_DEV', 9); +define('EPEL_DEV', 2); // 0 missing, 1 partially populated, 2 mostly full define('COUNTER', __DIR__ . "/counter.txt"); $osvers = [ @@ -201,7 +202,7 @@ if ($php && $os && $type && !$err) { } else { $yum = 'yum'; } - if ($ver <= EL_DEV) { + if ($ver < EL_DEV || EPEL_DEV > 0) { printf("
  • Command to install the EPEL repository configuration package:"); printf("
        $yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-%d.noarch.rpm

  • ", $ver); } @@ -214,7 +215,7 @@ if ($php && $os && $type && !$err) { printf("
        $yum install yum-utils
    "); } - if ($ver >= EL_DEV) { + if ($ver == EL_DEV && EPEL_DEV < 2) { printf("
  • As EPEL is not yet fully populated, you probably have to enable the main repository:"); printf("
        dnf config-manager --enable remi

  • ", $ver); } -- cgit