Update rpm-fusion-setup.sh

Removed useless brackets
This commit is contained in:
stormseal 2024-08-23 18:37:04 +02:00 committed by GitHub
parent 728570625e
commit d89d1e2466
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -7,7 +7,7 @@
installRPMFusion() {
case $PACKAGER in
dnf)
if [[ ! -e "/etc/yum.repos.d/rpmfusion-free.repo" ]]; then
if [ ! -e "/etc/yum.repos.d/rpmfusion-free.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