mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-12-25 04:49:44 +00:00
Update rpm-fusion-setup.sh
This commit is contained in:
parent
db030041e6
commit
1825b984ad
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user