diff --git a/modules/ROOT/pages/_partials/proc_adding-repositories.adoc b/modules/ROOT/pages/_partials/proc_adding-repositories.adoc index f96857a..33a4852 100644 --- a/modules/ROOT/pages/_partials/proc_adding-repositories.adoc +++ b/modules/ROOT/pages/_partials/proc_adding-repositories.adoc @@ -5,7 +5,7 @@ include::{partialsdir}/attributes.adoc[] This section describes how to add software repositories with the `dnf config-manager` command. -Use the following commands as the `root` user or under the `sudo` utility. +* To add a new repository, do the following as `*root*`. . Define a new repository by adding a new file with the `.repo` suffix to the [filename]`/etc/yum.repos.d/` directory. For details about various options to use in the `.repo` file, see the xref:f{MAJOROSVER}@fedora:system-administrators-guide:package-management/DNF.adoc#sec-Setting_repository_Options[Setting [repository\] Options] section in the System Administrator's Guide diff --git a/modules/ROOT/pages/_partials/proc_disabling-repositories.adoc b/modules/ROOT/pages/_partials/proc_disabling-repositories.adoc index 7e8d970..b0b7647 100644 --- a/modules/ROOT/pages/_partials/proc_disabling-repositories.adoc +++ b/modules/ROOT/pages/_partials/proc_disabling-repositories.adoc @@ -3,7 +3,7 @@ This section shows how to disable a particular software repository by using the `dnf config-manager` command. -* To disable a particular repository, use the following command as *root*: +* To disable a particular repository, use the following command as `*root*`: + [literal,subs="+quotes,attributes"] ---- diff --git a/modules/ROOT/pages/_partials/proc_enabling-repositories.adoc b/modules/ROOT/pages/_partials/proc_enabling-repositories.adoc index 9ca2b94..321c0f8 100644 --- a/modules/ROOT/pages/_partials/proc_enabling-repositories.adoc +++ b/modules/ROOT/pages/_partials/proc_enabling-repositories.adoc @@ -3,7 +3,7 @@ This section shows how to enable a particular software repository by using the `dnf config-manager` command. -* To enable a particular repository, use the following command as `root`. +* To enable a particular repository, use the following command as `*root*`. + [literal,subs="+quotes,attributes"] ----