Correcting the syntax of addrepo on Fedora 41 and Rawhide.

Since Fedora 41 uses dnf5, the command to addrepo is different from dnf4, and the previous command no longer works.
This commit is contained in:
WistfulJoker
2025-02-11 19:03:58 -03:00
committed by GitHub
parent 0e06a90001
commit 41a5bb9754

View File

@@ -356,14 +356,14 @@ Installing the repository:
###### Rawhide
```bash
sudo dnf config-manager --add-repo https://download.opensuse.org/repositories/home:/Ximi1970:/Mozilla:/Add-ons/Fedora_Rawhide/home:Ximi1970:Mozilla:Add-ons.repo
sudo dnf config-manager addrepo --from-repofile=https://download.opensuse.org/repositories/home:/Ximi1970:/Mozilla:/Add-ons/Fedora_Rawhide/home:Ximi1970:Mozilla:Add-ons.repo
sudo dnf update --refresh
```
###### 41
```bash
sudo dnf config-manager --add-repo https://download.opensuse.org/repositories/home:/Ximi1970:/Mozilla:/Add-ons/Fedora_41/home:Ximi1970:Mozilla:Add-ons.repo
sudo dnf config-manager addrepo --from-repofile=https://download.opensuse.org/repositories/home:/Ximi1970:/Mozilla:/Add-ons/Fedora_41/home:Ximi1970:Mozilla:Add-ons.repo
sudo dnf update --refresh
```