update dnf add repo syntax

This commit is contained in:
askiiart 2024-12-06 22:21:21 -06:00
parent 47bb90de9c
commit f2823f2c78
Signed by untrusted user who does not match committer: askiiart
GPG key ID: EA85979611654C30
7 changed files with 22 additions and 7 deletions

View file

@ -11,7 +11,7 @@ if command_exists "apt-get"; then
sudo apt install curl -y
elif command_exists "dnf"; then
sudo dnf config-manager --add-repo https://askiiart.net/repos/fedora/x86_64/askiiart.repo
sudo dnf config-manager addrepo --from-repofile 'https://askiiart.net/repos/fedora/x86_64/askiiart.repo'
sudo dnf remove libreoffice* atril -y
sudo dnf install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm -y