From 1825b984ad7989446942fc34484a8a4db60f191c Mon Sep 17 00:00:00 2001 From: Chris Titus Date: Wed, 28 Aug 2024 20:52:34 -0500 Subject: [PATCH] Update rpm-fusion-setup.sh --- src/commands/system-setup/fedora/rpm-fusion-setup.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/commands/system-setup/fedora/rpm-fusion-setup.sh b/src/commands/system-setup/fedora/rpm-fusion-setup.sh index 02c6ccc4..6d142bfc 100644 --- a/src/commands/system-setup/fedora/rpm-fusion-setup.sh +++ b/src/commands/system-setup/fedora/rpm-fusion-setup.sh @@ -9,9 +9,9 @@ installRPMFusion() { dnf) if [[ ! -e /etc/yum.repos.d/rpmfusion-free.repo || ! -e /etc/yum.repos.d/rpmfusion-nonfree.repo ]]; then echo "Installing RPM Fusion..." - sudo "$PACKAGER" install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm - sudo "$PACKAGER" config-manager --enable fedora-cisco-openh264 - echo "RPM Fusion installed" + $ESCALATION_TOOL "$PACKAGER" install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm + $ESCALATION_TOOL "$PACKAGER" config-manager --enable fedora-cisco-openh264 + $ESCALATION_TOOL "RPM Fusion installed" else echo "RPM Fusion already installed" fi