Update rpm-fusion-setup.sh

This commit is contained in:
Chris Titus 2024-08-28 20:52:34 -05:00 committed by GitHub
parent db030041e6
commit 1825b984ad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -9,9 +9,9 @@ installRPMFusion() {
dnf) dnf)
if [[ ! -e /etc/yum.repos.d/rpmfusion-free.repo || ! -e /etc/yum.repos.d/rpmfusion-nonfree.repo ]]; then if [[ ! -e /etc/yum.repos.d/rpmfusion-free.repo || ! -e /etc/yum.repos.d/rpmfusion-nonfree.repo ]]; then
echo "Installing RPM Fusion..." 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 $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
sudo "$PACKAGER" config-manager --enable fedora-cisco-openh264 $ESCALATION_TOOL "$PACKAGER" config-manager --enable fedora-cisco-openh264
echo "RPM Fusion installed" $ESCALATION_TOOL "RPM Fusion installed"
else else
echo "RPM Fusion already installed" echo "RPM Fusion already installed"
fi fi