#179-Remove 'Procedure' heading and # prompt from enabling-repositories and disabling-repositories

This commit is contained in:
T.C. Williams 2021-10-29 15:55:07 -04:00
parent 912d2e22d9
commit 90fb4de74a
2 changed files with 4 additions and 10 deletions

View file

@ -3,18 +3,15 @@
This section shows how to disable a particular software repository by using the `dnf config-manager` command.
[discrete]
= Procedure
* To disable a particular repository, use the following command as *root*:
+
[literal,subs="+quotes,attributes"]
----
# dnf config-manager --set-disabled _repository_
dnf config-manager --set-disabled _repository_
----
+
Replace `_repository_` with the unique repository ID, for example:
+
----
# dnf config-manager --set-disabled fedora-extras
dnf config-manager --set-disabled fedora-extras
----

View file

@ -3,18 +3,15 @@
This section shows how to enable a particular software repository by using the `dnf config-manager` command.
[discrete]
= Procedure
* To enable a particular repository, use the following command as `root`.
+
[literal,subs="+quotes,attributes"]
----
# dnf config-manager --set-enabled _repository_
dnf config-manager --set-enabled '_repository_`
----
+
Replace `_repository_` with the unique repository ID, for example:
+
----
# dnf config-manager --set-enabled fedora-extras
dnf config-manager --set-enabled fedora-extras
----