mirror of
https://pagure.io/fedora-docs/quick-docs.git
synced 2024-11-24 21:35:17 +00:00
#179-More consistent format changes
This commit is contained in:
parent
bda0ddf671
commit
80152bd6ea
3 changed files with 8 additions and 8 deletions
|
@ -13,10 +13,10 @@ This section describes how to add software repositories with the `dnf config-man
|
|||
+
|
||||
[literal,subs="+quotes,attributes"]
|
||||
----
|
||||
dnf config-manager --add-repo _repository_
|
||||
dnf config-manager --add-repo `*_repository_*`
|
||||
----
|
||||
+
|
||||
Replace `_repository_` with the path to the created `.repo` file, for example:
|
||||
Where *_repository_* is the path to the created `.repo` file, for example:
|
||||
+
|
||||
----
|
||||
dnf config-manager --add-repo /etc/yum.repos.d/fedora_extras.repo
|
||||
|
|
|
@ -3,14 +3,14 @@
|
|||
|
||||
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, run 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:
|
||||
Where *_repository_* is the unique repository ID, for example:
|
||||
+
|
||||
----
|
||||
dnf config-manager --set-disabled fedora-extras
|
||||
|
|
|
@ -3,14 +3,14 @@
|
|||
|
||||
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, run 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:
|
||||
Where *_repository_* is the unique repository ID, for example:
|
||||
+
|
||||
----
|
||||
dnf config-manager --set-enabled fedora-extras
|
||||
|
|
Loading…
Reference in a new issue