Skip to content

Commit

Permalink
Added dnf5 support
Browse files Browse the repository at this point in the history
  • Loading branch information
wknapik committed Nov 22, 2024
1 parent d01374f commit e693f31
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
unsupported := alpine voidlinux/voidlinux-musl ubuntu_16.04 debian_9 linuxmintd/mint18-amd64 fedora_26 opensuse/leap_42.3
supported := ubuntu_18.04 debian_10 linuxmintd/mint19-amd64 fedora_28 opensuse/leap_15 opensuse/tumbleweed rockylinux_9 manjarolinux/base # fedora_27 hangs
supported := ubuntu_18.04 debian_10 linuxmintd/mint19-amd64 fedora_28 fedora_41 opensuse/leap_15 opensuse/tumbleweed rockylinux_9 manjarolinux/base # fedora_27 hangs
distros := $(unsupported) $(supported)

test: $(distros)
Expand Down
6 changes: 5 additions & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,11 @@ main() {

elif available dnf; then
show $sudo dnf install -y 'dnf-command(config-manager)'
show $sudo dnf config-manager --add-repo https://brave-browser-rpm-release.s3.brave.com/brave-browser.repo
if dnf --version|grep -q dnf5; then
show $sudo dnf config-manager addrepo --from-repofile=https://brave-browser-rpm-release.s3.brave.com/FIXME.repo
else
show $sudo dnf config-manager --add-repo https://brave-browser-rpm-release.s3.brave.com/brave-browser.repo
fi
show $sudo rpm --import https://brave-browser-rpm-release.s3.brave.com/brave-core.asc
show $sudo dnf install -y brave-browser

Expand Down

0 comments on commit e693f31

Please sign in to comment.