update dnf add repo syntax
This commit is contained in:
parent
47bb90de9c
commit
f2823f2c78
7 changed files with 22 additions and 7 deletions
|
@ -14,7 +14,7 @@ if command_exists "apt-get"; then
|
|||
sudo apt update
|
||||
sudo apt install librewolf -y
|
||||
elif command_exists "dnf"; then
|
||||
sudo dnf config-manager --add-repo https://rpm.librewolf.net/librewolf-repo.repo
|
||||
sudo dnf config-manager addrepo --from-repofile 'https://repo.librewolf.net/librewolf.repo'
|
||||
sudo dnf install librewolf
|
||||
sudo dnf remove firefox
|
||||
mkdir tmp-openh264
|
||||
|
@ -31,7 +31,7 @@ elif command_exists "dnf"; then
|
|||
rm -rf ./tmp-openh264/
|
||||
elif command_exists "rpm-ostree"; then
|
||||
if ! command_exists "librewolf"; then
|
||||
sudo wget https://rpm.librewolf.net/librewolf-repo.repo -O /etc/yum.repos.d/librewolf.repo
|
||||
sudo wget https://repo.librewolf.net/librewolf.repo -O /etc/yum.repos.d/librewolf.repo
|
||||
rpm-ostree install librewolf
|
||||
rpm-ostree remove firefox
|
||||
read -p "Press enter to reboot, then run do-everything.bash again"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue