Fedora Remix maintained by the Rochester Institute of Technology (RIT) Linux Users Group, targeted at users new to Linux and RIT students, faculty, and staff
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

18 lines
914 B

#!/bin/sh
# Enable RPMFusion nonfree repos
# author: Aidan Kahrs <axk4545@rit.edu>
if [ $EUID != 0 ]
then
echo "Please run this script as root ( $@$0)."
exit
fi
echo "This script will enable the RPMFusion repositories for nonfree or patent encumbered software. Due to the legal implications of shipping non-free or patent encumbered technology, we cannot enable these packages by default. Long story short, if you want to do things like like listen to mp3, or watch youtube videos in your browser, you will probably need to enable these options. You may enable these options at any time by running the enablerpmfusion.sh script located on your desktop."
while true; do
read -p "Do you wish to continue? [y/n] " yn
case $yn in
[Yy]* ) dnf install https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm;;
[Nn]* ) exit;;
esac
done