diff --git a/modules/ROOT/pages/_partials/proc_removing-repositories.adoc b/modules/ROOT/pages/_partials/proc_removing-repositories.adoc new file mode 100644 index 0000000..53435a5 --- /dev/null +++ b/modules/ROOT/pages/_partials/proc_removing-repositories.adoc @@ -0,0 +1,14 @@ +[id='removing-repositories'] += Removing repositories + +This section shows how to remove a `.repo` file from the Yum repository. + +* To remove a `.repo` file, run the following command as `*root*`. ++ +[literal,subs="+quotes,attributes"] +---- +rm /etc/yum.repos.d/*_repository_*.repo +---- ++ +Where *_repository_* is the unique repository ID. ++ \ No newline at end of file diff --git a/modules/ROOT/pages/adding-or-removing-software-repositories-in-fedora.adoc b/modules/ROOT/pages/adding-or-removing-software-repositories-in-fedora.adoc index 905ab3e..0ea9eff 100644 --- a/modules/ROOT/pages/adding-or-removing-software-repositories-in-fedora.adoc +++ b/modules/ROOT/pages/adding-or-removing-software-repositories-in-fedora.adoc @@ -12,5 +12,7 @@ include::{partialsdir}/proc_adding-repositories.adoc[leveloffset=+1] include::{partialsdir}/proc_enabling-repositories.adoc[leveloffset=+1] include::{partialsdir}/proc_disabling-repositories.adoc[leveloffset=+1] + +include::{partialsdir}/proc_removing-repositories.adoc[leveloffset=+1] ifdef::parent-context[:context: {parent-context}] ifndef::parent-context[:!context:]