enhancing fedora

This commit is contained in:
2026-04-23 09:47:17 +02:00
parent 1ab9369d22
commit d29309757b
+12
View File
@@ -78,6 +78,18 @@ fi
########################## ##########################
# 1. Add repositories if missing and update system # 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..." say_yellow "Checking for updates and sources..."
sudo dnf check-update || true sudo dnf check-update || true