summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2021-11-08 08:52:25 +0100
committerRemi Collet <remi@php.net>2021-11-08 08:52:25 +0100
commitb4ef6487656a4e1f446f0f9eb2d446c7cb6118e5 (patch)
tree8eade0b1ac2dec335bd3ea91facd72cd767a4bce
parentf73065e7b58a649442a80ea9c8742b504403f3fe (diff)
Wizard: EPEL-9 not yet available
-rw-r--r--wizard/index.php22
1 files changed, 16 insertions, 6 deletions
diff --git a/wizard/index.php b/wizard/index.php
index 229fe7e6..b30797b4 100644
--- a/wizard/index.php
+++ b/wizard/index.php
@@ -50,9 +50,9 @@ $osname = [
'RHEL 8' => 'RHEL 8.4',
'RHEL 7' => 'RHEL 7.9 (maintained until June 2024)',
':centos' => 'CentOS Linux and other clones',
- 'CentOS 9' => 'CentOS 9',
+ 'CentOS 9' => 'CentOS 9 (Development version)',
'CentOS 8' => 'CentOS 8',
- 'CentOS 7' => 'CentOS 7.9.2009 (maintained until June 2024)',
+ 'CentOS 7' => 'CentOS 7 (maintained until June 2024)',
':fedora' => 'Fedora Linux',
'Fedora 35' => 'Fedora 35',
'Fedora 34' => 'Fedora 34',
@@ -199,14 +199,24 @@ if ($php && $os && $type && !$err) {
} else {
$yum = 'yum';
}
- 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);
+ if ($ver < EL_DEV) {
+ 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);
+ }
printf("<li>Command to install the Remi repository configuration package:");
printf("<pre> $yum install https://rpms.remirepo.net/enterprise/remi-release-%d.rpm</pre>", $ver);
printf("</li><br />");
- printf("<li>Command to install the yum-utils package (for the yum-config-manager command):");
- printf("<pre> $yum install yum-utils</pre>");
+ if ($yum === "yum") {
+ printf("<li>Command to install the yum-utils package (for the yum-config-manager command):");
+ printf("<pre> $yum install yum-utils</pre>");
+ }
+
+ if ($ver >= EL_DEV) {
+ printf("<li>As EPEL is not yet ready, you have to enable the main repository:");
+ printf("<pre> dnf config-manager --enable remi</pre></li><br />", $ver);
+ }
+
printf("</li><br />");
if ($dist == 'RHEL' && $ver < 8) {
printf("<li>On <b>RHEL</b> you (probably) need to enable the <b>optional channel</b> for some dependencies.</li><br />");