From d29309757b2131b169a10486dd0113a8d4c07d3e Mon Sep 17 00:00:00 2001 From: "yuri.kuit" Date: Thu, 23 Apr 2026 09:47:17 +0200 Subject: [PATCH] enhancing fedora --- v2/fedora.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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