From 12dc0a80bfca7762f68c69f705e08869b51a92b0 Mon Sep 17 00:00:00 2001
From: Remi Collet <remi@remirepo.net>
Date: Wed, 28 Nov 2018 16:51:47 +0100
Subject: Wizard: add instruction about the module way

---
 wizard/index.php | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/wizard/index.php b/wizard/index.php
index 7bad29d7..144f4c44 100644
--- a/wizard/index.php
+++ b/wizard/index.php
@@ -226,6 +226,13 @@ if ($php && $os && $type && !$err) {
                     printf("<pre>    yum-config-manager --enable %s</pre>", $repo);
             }
             printf("</li><br />");
+
+            if ($dist == 'Fedora' && $ver >= 29) {
+                printf("<li>Alternatively, you may prefer to enable the module:");
+                printf("<pre>    dnf module install remi-php:%s</pre>", $php);
+                printf("</li><br />");
+            }
+
             printf("<li>Command to upgrade (the repository only provides PHP):");
             printf("<pre>    $yum update</pre>");
             printf("</li><br />");
-- 
cgit