diff --git a/v2/fedora.sh b/v2/fedora.sh index c262c15..e0789e2 100755 --- a/v2/fedora.sh +++ b/v2/fedora.sh @@ -78,6 +78,18 @@ fi ########################## # 1. Add repositories if missing and update system ########################## +say_cyan "Enabling RPM Fusion repositories for Fedora $(rpm -E %fedora)..." + +# Define the version variable for readability +FEDORA_VER=$(rpm -E %fedora) + +sudo dnf install -y \ + "https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-${FEDORA_VER}.noarch.rpm" \ + "https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-${FEDORA_VER}.noarch.rpm" + +say_cyan "Enabling full Flathub support..." +flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo + say_yellow "Checking for updates and sources..." sudo dnf check-update || true