summaryrefslogtreecommitdiffstats
path: root/wizard/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'wizard/index.php')
-rw-r--r--wizard/index.php5
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);
}