Enable RPMFusion repos as well on rpmfusion script (#612)

* Enable RPMFusion repos as well on rpmfusion script

* Eyesight is poor
This commit is contained in:
kleidis 2024-09-22 18:54:16 +02:00 committed by GitHub
parent 07583e3cc6
commit 9b2dd489aa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -11,7 +11,9 @@ installRPMFusion() {
printf "%b\n" "${YELLOW}Installing RPM Fusion...${RC}"
"$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
printf "%b\n" "${GREEN}RPM Fusion installed${RC}"
"$ESCALATION_TOOL" "$PACKAGER" config-manager --set-enabled rpmfusion-nonfree-updates
"$ESCALATION_TOOL" "$PACKAGER" config-manager --set-enabled rpmfusion-free-updates
printf "%b\n" "${GREEN}RPM Fusion installed and enabled${RC}"
else
printf "%b\n" "${GREEN}RPM Fusion already installed${RC}"
fi
@ -24,4 +26,4 @@ installRPMFusion() {
checkEnv
checkEscalationTool
installRPMFusion
installRPMFusion