Update rpm-fusion-setup.sh

This commit is contained in:
solomoncyj 2024-11-30 19:23:26 +08:00 committed by GitHub
parent 15c40d1297
commit 571d3fa98a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -13,7 +13,11 @@ installRPMFusion() {
"$ESCALATION_TOOL" "$PACKAGER" config-manager --enable fedora-cisco-openh264 "$ESCALATION_TOOL" "$PACKAGER" config-manager --enable fedora-cisco-openh264
"$ESCALATION_TOOL" "$PACKAGER" config-manager --set-enabled rpmfusion-nonfree-updates "$ESCALATION_TOOL" "$PACKAGER" config-manager --set-enabled rpmfusion-nonfree-updates
"$ESCALATION_TOOL" "$PACKAGER" config-manager --set-enabled rpmfusion-free-updates "$ESCALATION_TOOL" "$PACKAGER" config-manager --set-enabled rpmfusion-free-updates
printf "%b\n" "${GREEN}RPM Fusion installed and enabled${RC}" "$ESCALATION_TOOL" "$PACKAGER" rpmfusion-free-release-tainted
"$ESCALATION_TOOL" "$PACKAGER" rpmfusion-nonfree-release-tainted
"$ESCALATION_TOOL" "$PACKAGER" config-manager --set-enabled rpmfusion-free-release-tainted
"$ESCALATION_TOOL" "$PACKAGER" config-manager --set-enabled rpmfusion-nonfree-release-tainted
printf "%b\n" "${GREEN}RPM Fusion and Tainted repositories installed and enabled${RC}"
else else
printf "%b\n" "${GREEN}RPM Fusion already installed${RC}" printf "%b\n" "${GREEN}RPM Fusion already installed${RC}"
fi fi
@ -26,4 +30,4 @@ installRPMFusion() {
checkEnv checkEnv
checkEscalationTool checkEscalationTool
installRPMFusion installRPMFusion