summaryrefslogtreecommitdiffstats
path: root/wizard
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-03-09 06:47:15 +0100
committerRemi Collet <fedora@famillecollet.com>2016-03-09 06:47:15 +0100
commit4503a0350d5e7ae2657edfb2e66909d597e2b360 (patch)
tree94730f22e41533d8e62b8e7c6ffe8f3946f0f2ee /wizard
parenteeeb82993c274bb4d544033fdb2d7d3ab9104bdc (diff)
wizard: fix dnf syntax
Diffstat (limited to 'wizard')
-rw-r--r--wizard/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/wizard/index.php b/wizard/index.php
index e04efdac..0af0ae0a 100644
--- a/wizard/index.php
+++ b/wizard/index.php
@@ -174,7 +174,7 @@ if ($php && $os && $type && !$err) {
} else {
printf("<li>Command to enable the repository:");
if ($dist == 'Fedora') {
- printf("<pre> dnf config-manager --enable %s</pre>", $phpvers[$php]);
+ printf("<pre> dnf config-manager --set-enabled %s</pre>", $phpvers[$php]);
} else {
printf("<pre> yum-config-manager --enable %s</pre>", $phpvers[$php]);
}