diff options
author | Remi Collet <remi@remirepo.net> | 2021-12-21 09:55:31 +0100 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2021-12-21 09:55:31 +0100 |
commit | 66de8999e3b641fac73de366ba8ca17d20f2f2cd (patch) | |
tree | b46b4c3a064823ac0c302918888b9fc31ce879e6 /wizard | |
parent | c3637b0ff559ed31ed784ad801680c0cab4f1ad8 (diff) |
Wizard: tweak EPEL-9 info
Diffstat (limited to 'wizard')
-rw-r--r-- | wizard/index.php | 5 |
1 files changed, 3 insertions, 2 deletions
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("<li>Command to install the EPEL repository configuration package:"); printf("<pre> $yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-%d.noarch.rpm</pre></li><br />", $ver); } @@ -214,7 +215,7 @@ if ($php && $os && $type && !$err) { printf("<pre> $yum install yum-utils</pre>"); } - if ($ver >= EL_DEV) { + if ($ver == EL_DEV && EPEL_DEV < 2) { printf("<li>As EPEL is not yet fully populated, you probably have to enable the main repository:"); printf("<pre> dnf config-manager --enable remi</pre></li><br />", $ver); } |