Skip to content

Commit

Permalink
chore: Install all RPMFusion repos in cases when only free or non-fre…
Browse files Browse the repository at this point in the history
…e repo is installed
  • Loading branch information
fiftydinar authored Nov 25, 2024
1 parent 024ef49 commit 04759a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/bling/installers/rpmfusion.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ set -euo pipefail
NEGATIVO_REPO_FILE="$(awk -F'=' '$1 == "name" && $2 == "negativo17 - Multimedia" {print FILENAME}' /etc/yum.repos.d/*)"

# Check if rpmfusion is already installed before running
if ! rpm -q rpmfusion-free-release &>/dev/null && ! rpm -q rpmfusion-nonfree-release &>/dev/null; then
if ! rpm -q rpmfusion-free-release &>/dev/null || ! rpm -q rpmfusion-nonfree-release &>/dev/null; then
echo "Running RPMFusion repo install..."
rpm-ostree install \
"https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-${OS_VERSION}.noarch.rpm" \
Expand Down

0 comments on commit 04759a7

Please sign in to comment.